#4C249C#4C249C
#4C249C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.179 H 291.0°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4C249C |
|---|---|
| RGB | rgb(76, 36, 156) |
| HSL | hsl(260, 63%, 38%) |
| HSV | hsv(260, 77%, 61%) |
| CMYK | cmyk(51.3%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(27.29, 46.33, -58.25) |
| CIE-LCH | lch(27.29, 74.43, 308.50°) |
| OKLab | oklab(39.41% 0.0642 -0.1673) |
| OKLCH | oklch(39.41% 0.179 291) |
| XYZ | xyz(9.6104, 5.1982, 31.9430) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Rebeccapurple
#663399
ΔE00 5.87
Violet Blue
#510AC9
ΔE00 6.27
Indigo
#4B0082
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.84
Indigo (survey)
#380282
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C249C #749C24
analogous
#24389C #4C249C #88249C
triadic
#4C249C #9C4C24 #249C4C
tetradic
#4C249C #9C2438 #749C24 #249C88
square
#4C249C #9C2438 #749C24 #249C88
split-complementary
#4C249C #9C8824 #389C24
monochromatic
#1C0D39 #34196A #4C249C #642FCE #8960DA
Accessibility & contrast
On white
10.30
#4C249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4C249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C249C
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C249C | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#30455F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c249c; /* rgb */ color: rgb(76, 36, 156); /* oklch */ color: oklch(39.4% 0.179 291.0);
Tailwind
colors: {
custom: {
50: '#8763ba',
500: '#4c249c',
950: '#000000',
},
}SCSS
$custom: #4c249c; $custom-light: #8763ba; $custom-dark: #000000;
JSON
{
"hex": "#4c249c",
"rgb": {
"r": 76,
"g": 36,
"b": 156
},
"hsl": {
"h": 260,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.39406,
"c": 0.17922,
"h": 291
},
"luminance": 0.05199
}Semantic roles & 50–950 ramp
primary
#4C249C
secondary
#9EBF5C
accent
#E642AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81