#4D2F8E#4D2F8E
#4D2F8E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.149 H 292.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2F8E |
|---|---|
| RGB | rgb(77, 47, 142) |
| HSL | hsl(259, 50%, 37%) |
| HSV | hsv(259, 67%, 56%) |
| CMYK | cmyk(45.8%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.28, 36.67, -48.03) |
| CIE-LCH | lch(28.28, 60.42, 307.36°) |
| OKLab | oklab(39.76% 0.058 -0.1373) |
| OKLCH | oklch(39.76% 0.149 292.9) |
| XYZ | xyz(8.9582, 5.5635, 26.1878) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.62
Rebeccapurple
#663399
ΔE00 4.84
Blueberry
#464196
ΔE00 5.89
Indigo Blue
#3A18B1
ΔE00 7.35
Ocean Blue
#4F42B5
ΔE00 7.70
Indigo
#4B0082
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2F8E #708E2F
analogous
#2F418E #4D2F8E #7D2F8E
triadic
#4D2F8E #8E4D2F #2F8E4D
tetradic
#4D2F8E #8E2F41 #708E2F #2F8E7D
square
#4D2F8E #8E2F41 #708E2F #2F8E7D
split-complementary
#4D2F8E #8E7D2F #418E2F
monochromatic
#1B1132 #342060 #4D2F8E #663EBC #896ACE
Accessibility & contrast
On white
9.94
#4D2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4D2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2F8E
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2F8E | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#3A465A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d2f8e; /* rgb */ color: rgb(77, 47, 142); /* oklch */ color: oklch(39.8% 0.149 292.9);
Tailwind
colors: {
custom: {
50: '#8469b0',
500: '#4d2f8e',
950: '#000000',
},
}SCSS
$custom: #4d2f8e; $custom-light: #8469b0; $custom-dark: #000000;
JSON
{
"hex": "#4d2f8e",
"rgb": {
"r": 77,
"g": 47,
"b": 142
},
"hsl": {
"h": 258.947,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.39761,
"c": 0.14905,
"h": 292.9
},
"luminance": 0.05564
}Semantic roles & 50–950 ramp
primary
#4D2F8E
secondary
#9BB564
accent
#DA4EAE
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F