#4C209E#4C209E
#4C209E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.185 H 291.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4C209E |
|---|---|
| RGB | rgb(76, 32, 158) |
| HSL | hsl(261, 66%, 37%) |
| HSV | hsv(261, 80%, 62%) |
| CMYK | cmyk(51.9%, 79.7%, 0%, 38%) |
| CIE-LAB | lab(26.84, 48.73, -60.21) |
| CIE-LCH | lch(26.84, 77.46, 308.98°) |
| OKLab | oklab(39.15% 0.0667 -0.173) |
| OKLCH | oklch(39.15% 0.185 291.1) |
| XYZ | xyz(9.6668, 5.0377, 32.8042) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.67
Violet Blue
#510AC9
ΔE00 5.78
Indigo
#4B0082
ΔE00 5.98
Ultramarine
#2000B1
ΔE00 6.25
Rebeccapurple
#663399
ΔE00 6.33
Indigo (survey)
#380282
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C209E #729E20
analogous
#20339E #4C209E #8B209E
triadic
#4C209E #9E4C20 #209E4C
tetradic
#4C209E #9E2033 #729E20 #209E8B
square
#4C209E #9E2033 #729E20 #209E8B
split-complementary
#4C209E #9E8B20 #339E20
monochromatic
#1B0B38 #34166B #4C209E #642AD1 #885BDE
Accessibility & contrast
On white
10.46
#4C209E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4C209E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C209E
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C209E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C209E | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#2F445F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c209e; /* rgb */ color: rgb(76, 32, 158); /* oklch */ color: oklch(39.1% 0.185 291.1);
Tailwind
colors: {
custom: {
50: '#8761bc',
500: '#4c209e',
950: '#000000',
},
}SCSS
$custom: #4c209e; $custom-light: #8761bc; $custom-dark: #000000;
JSON
{
"hex": "#4c209e",
"rgb": {
"r": 76,
"g": 32,
"b": 158
},
"hsl": {
"h": 260.952,
"s": 66.316,
"l": 37.255
},
"oklch": {
"l": 0.3915,
"c": 0.18543,
"h": 291.1
},
"luminance": 0.05038
}Semantic roles & 50–950 ramp
primary
#4C209E
secondary
#9DC258
accent
#E93FAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81