#4D206F#4D206F
#4D206F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.132 H 306.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4D206F |
|---|---|
| RGB | rgb(77, 32, 111) |
| HSL | hsl(274, 55%, 28%) |
| HSV | hsv(274, 71%, 44%) |
| CMYK | cmyk(30.6%, 71.2%, 0%, 56.5%) |
| CIE-LAB | lab(22.86, 36.41, -37.26) |
| CIE-LCH | lch(22.86, 52.10, 314.34°) |
| OKLab | oklab(35.1% 0.0794 -0.1056) |
| OKLCH | oklch(35.1% 0.132 306.9) |
| XYZ | xyz(6.4457, 3.7586, 15.4218) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.80
Indigo
#4B0082
ΔE00 6.02
Plum Purple
#4E0550
ΔE00 7.64
Indigo (survey)
#380282
ΔE00 7.64
Rebeccapurple
#663399
ΔE00 8.38
Darkish Purple
#751973
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D206F #426F20
analogous
#25206F #4D206F #6F2069
triadic
#4D206F #6F4D20 #206F4D
tetradic
#4D206F #6F2520 #426F20 #20696F
square
#4D206F #6F2520 #426F20 #20696F
split-complementary
#4D206F #696F20 #206F25
monochromatic
#100718 #2C123F #4D206F #6E2E9F #8E41C8
Accessibility & contrast
On white
11.99
#4D206F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#4D206F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D206F
11.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D206F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D206F | 1.00 | 11.99 | 1.75 | 11.99 |
| #FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#0B376D
Tritanopia (blue-blind)
#473144
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4d206f; /* rgb */ color: rgb(77, 32, 111); /* oklch */ color: oklch(35.1% 0.132 306.9);
Tailwind
colors: {
custom: {
50: '#825f99',
500: '#4d206f',
950: '#000000',
},
}SCSS
$custom: #4d206f; $custom-light: #825f99; $custom-dark: #000000;
JSON
{
"hex": "#4d206f",
"rgb": {
"r": 77,
"g": 32,
"b": 111
},
"hsl": {
"h": 274.177,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.35097,
"c": 0.13211,
"h": 306.9
},
"luminance": 0.03759
}Semantic roles & 50–950 ramp
primary
#4D206F
secondary
#6FA348
accent
#DF498A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E