#4C209C#4C209C
#4C209C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.183 H 291.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #4C209C |
|---|---|
| RGB | rgb(76, 32, 156) |
| HSL | hsl(261, 66%, 37%) |
| HSV | hsv(261, 79%, 61%) |
| CMYK | cmyk(51.3%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(26.65, 48.18, -59.31) |
| CIE-LCH | lch(26.65, 76.41, 309.09°) |
| OKLab | oklab(38.96% 0.0673 -0.1704) |
| OKLCH | oklch(38.96% 0.183 291.6) |
| XYZ | xyz(9.4960, 4.9695, 31.9049) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.90
Indigo
#4B0082
ΔE00 5.77
Violet Blue
#510AC9
ΔE00 6.06
Rebeccapurple
#663399
ΔE00 6.28
Indigo (survey)
#380282
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C209C #709C20
analogous
#20329C #4C209C #8A209C
triadic
#4C209C #9C4C20 #209C4C
tetradic
#4C209C #9C2032 #709C20 #209C8A
square
#4C209C #9C2032 #709C20 #209C8A
split-complementary
#4C209C #9C8A20 #329C20
monochromatic
#1B0B36 #331669 #4C209C #652ACF #8859DD
Accessibility & contrast
On white
10.53
#4C209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4C209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C209C
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C209C | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#31435E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c209c; /* rgb */ color: rgb(76, 32, 156); /* oklch */ color: oklch(39.0% 0.183 291.6);
Tailwind
colors: {
custom: {
50: '#8761ba',
500: '#4c209c',
950: '#000000',
},
}SCSS
$custom: #4c209c; $custom-light: #8761ba; $custom-dark: #000000;
JSON
{
"hex": "#4c209c",
"rgb": {
"r": 76,
"g": 32,
"b": 156
},
"hsl": {
"h": 261.29,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.38956,
"c": 0.1832,
"h": 291.6
},
"luminance": 0.0497
}Semantic roles & 50–950 ramp
primary
#4C209C
secondary
#9BC157
accent
#E93FAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81