#4D209C#4D209C
#4D209C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.183 H 292.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4D209C |
|---|---|
| RGB | rgb(77, 32, 156) |
| HSL | hsl(262, 66%, 37%) |
| HSV | hsv(262, 79%, 61%) |
| CMYK | cmyk(50.6%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(26.77, 48.33, -59.11) |
| CIE-LCH | lch(26.77, 76.35, 309.27°) |
| OKLab | oklab(39.06% 0.0689 -0.1698) |
| OKLCH | oklch(39.06% 0.183 292.1) |
| XYZ | xyz(9.5761, 5.0107, 31.9086) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
Indigo
#4B0082
ΔE00 5.75
Violet Blue
#510AC9
ΔE00 6.05
Rebeccapurple
#663399
ΔE00 6.15
Indigo (survey)
#380282
ΔE00 6.37
Ultramarine
#2000B1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D209C #6F9C20
analogous
#20319C #4D209C #8B209C
triadic
#4D209C #9C4D20 #209C4D
tetradic
#4D209C #9C2031 #6F9C20 #209C8B
square
#4D209C #9C2031 #6F9C20 #209C8B
split-complementary
#4D209C #9C8B20 #319C20
monochromatic
#1B0B36 #341669 #4D209C #662ACF #8959DD
Accessibility & contrast
On white
10.49
#4D209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4D209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D209C
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D209C | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#33435E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4d209c; /* rgb */ color: rgb(77, 32, 156); /* oklch */ color: oklch(39.1% 0.183 292.1);
Tailwind
colors: {
custom: {
50: '#8861ba',
500: '#4d209c',
950: '#000000',
},
}SCSS
$custom: #4d209c; $custom-light: #8861ba; $custom-dark: #000000;
JSON
{
"hex": "#4d209c",
"rgb": {
"r": 77,
"g": 32,
"b": 156
},
"hsl": {
"h": 261.774,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.39064,
"c": 0.18321,
"h": 292.1
},
"luminance": 0.05011
}Semantic roles & 50–950 ramp
primary
#4D209C
secondary
#9AC157
accent
#E93FAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81