#4D2F90#4D2F90
#4D2F90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.152 H 292.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2F90 |
|---|---|
| RGB | rgb(77, 47, 144) |
| HSL | hsl(259, 51%, 37%) |
| HSV | hsv(259, 67%, 56%) |
| CMYK | cmyk(46.5%, 67.4%, 0%, 43.5%) |
| CIE-LAB | lab(28.44, 37.25, -49.00) |
| CIE-LCH | lch(28.44, 61.55, 307.24°) |
| OKLab | oklab(39.93% 0.0577 -0.1402) |
| OKLCH | oklch(39.93% 0.152 292.4) |
| XYZ | xyz(9.1097, 5.6241, 26.9857) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.69
Rebeccapurple
#663399
ΔE00 4.80
Blueberry
#464196
ΔE00 5.83
Indigo Blue
#3A18B1
ΔE00 7.08
Ocean Blue
#4F42B5
ΔE00 7.44
Indigo
#4B0082
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2F90 #72902F
analogous
#2F4190 #4D2F90 #7E2F90
triadic
#4D2F90 #904D2F #2F904D
tetradic
#4D2F90 #902F41 #72902F #2F907E
square
#4D2F90 #902F41 #72902F #2F907E
split-complementary
#4D2F90 #907E2F #41902F
monochromatic
#1C1134 #342062 #4D2F90 #663EBE #8A6BCF
Accessibility & contrast
On white
9.88
#4D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4D2F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2F90
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2F90 | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#39465B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d2f90; /* rgb */ color: rgb(77, 47, 144); /* oklch */ color: oklch(39.9% 0.152 292.4);
Tailwind
colors: {
custom: {
50: '#8569b1',
500: '#4d2f90',
950: '#000000',
},
}SCSS
$custom: #4d2f90; $custom-light: #8569b1; $custom-dark: #000000;
JSON
{
"hex": "#4d2f90",
"rgb": {
"r": 77,
"g": 47,
"b": 144
},
"hsl": {
"h": 258.557,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.39927,
"c": 0.15159,
"h": 292.4
},
"luminance": 0.05624
}Semantic roles & 50–950 ramp
primary
#4D2F90
secondary
#9DB665
accent
#DA4EAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80