#7C256A color

#7C256A rgb(124, 37, 106)
Shades of purple

The hex color #7C256A is a dark, moderate magenta.

In the RGB color model it is made of 48.6% red, 14.5% green and 41.6% blue (124, 37, 106).

Its hue angle is 312°, with 54% saturation and 32% lightness. For print, the CMYK equivalent is 0% cyan, 70% magenta, 15% yellow and 51% black.

The closest named color is Byzantium (#702963), a difference of 2.6 ΔE, a small difference.

White text is the more readable choice on this background (contrast 9.01:1).

#7C256A color codes

HEX#7C256A
RGBrgb(124, 37, 106)
RGB percentrgb(48.6%, 14.5%, 41.6%)
HSLhsl(312, 54%, 32%)
HSV / HSBhsv(312, 70%, 49%)
CMYKcmyk(0%, 70%, 15%, 51%)
CIE LABlab(31, 45.27, -20.65)
CIE LCHlch(31, 49.76, 335.48)
CIE XYZxyz(11.575, 6.65, 14.307)
Decimal8136042
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7C256A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #7C256ARatioAAAAAAA large
Sample text2.33:1FailFailFail
Sample text9.01:1PassPassPass
#7C256A as text onRatioAAAAAAA large
Sample text9.01:1PassPassPass
Sample text2.33:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #7C256A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7c256a; }
.text { color: #7c256a; }
.border { border: 2px solid #7c256a; }
.transparent { background-color: rgb(124 37 106 / 50%); }
.gradient { background: linear-gradient(to right, #7c256a, #7c253f); }
Background
Text color
Border

Similar colors

Questions

What color is #7C256A?
#7C256A is a dark, moderate magenta, closest to the named color Byzantium. It belongs to the purple family of colors.
What is the RGB value of #7C256A?
The RGB value is 124, 37, 106: 124 red, 37 green and 106 blue on a 0 to 255 scale.
What is the complementary color of #7C256A?
The complementary color is #257C37, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7C256A?
White text. Black text has a contrast ratio of 2.33:1 and white text 9.01:1. WCAG asks for at least 4.5:1 for normal text.