#4D2F92#4D2F92
#4D2F92 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.154 H 291.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2F92 |
|---|---|
| RGB | rgb(77, 47, 146) |
| HSL | hsl(258, 51%, 38%) |
| HSV | hsv(258, 68%, 57%) |
| CMYK | cmyk(47.3%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(28.61, 37.84, -49.97) |
| CIE-LCH | lch(28.61, 62.68, 307.13°) |
| OKLab | oklab(40.09% 0.0574 -0.143) |
| OKLCH | oklch(40.09% 0.154 291.9) |
| XYZ | xyz(9.2639, 5.6858, 27.7979) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.78
Rebeccapurple
#663399
ΔE00 4.79
Blueberry
#464196
ΔE00 5.78
Indigo Blue
#3A18B1
ΔE00 6.81
Ocean Blue
#4F42B5
ΔE00 7.19
Sapphire (survey)
#2138AB
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2F92 #74922F
analogous
#2F4292 #4D2F92 #7E2F92
triadic
#4D2F92 #924D2F #2F924D
tetradic
#4D2F92 #922F42 #74922F #2F927E
square
#4D2F92 #922F42 #74922F #2F927E
split-complementary
#4D2F92 #927E2F #42922F
monochromatic
#1C1135 #352064 #4D2F92 #653EC0 #8A6CD0
Accessibility & contrast
On white
9.83
#4D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4D2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2F92
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2F92 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#38475C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d2f92; /* rgb */ color: rgb(77, 47, 146); /* oklch */ color: oklch(40.1% 0.154 291.9);
Tailwind
colors: {
custom: {
50: '#856ab3',
500: '#4d2f92',
950: '#000000',
},
}SCSS
$custom: #4d2f92; $custom-light: #856ab3; $custom-dark: #000000;
JSON
{
"hex": "#4d2f92",
"rgb": {
"r": 77,
"g": 47,
"b": 146
},
"hsl": {
"h": 258.182,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.40094,
"c": 0.15413,
"h": 291.9
},
"luminance": 0.05686
}Semantic roles & 50–950 ramp
primary
#4D2F92
secondary
#9EB766
accent
#DB4DB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80