#4D2C99#4D2C99
#4D2C99 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.167 H 290.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2C99 |
|---|---|
| RGB | rgb(77, 44, 153) |
| HSL | hsl(258, 55%, 39%) |
| HSV | hsv(258, 71%, 60%) |
| CMYK | cmyk(49.7%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(28.59, 41.55, -54.29) |
| CIE-LCH | lch(28.59, 68.37, 307.43°) |
| OKLab | oklab(40.26% 0.0593 -0.1557) |
| OKLCH | oklch(40.26% 0.167 290.9) |
| XYZ | xyz(9.7094, 5.6787, 30.7153) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.99
Indigo Blue
#3A18B1
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 5.87
Blueberry
#464196
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.95
Violet Blue
#510AC9
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2C99 #78992C
analogous
#2C4199 #4D2C99 #832C99
triadic
#4D2C99 #994D2C #2C994D
tetradic
#4D2C99 #992C41 #78992C #2C9983
square
#4D2C99 #992C41 #78992C #2C9983
split-complementary
#4D2C99 #99832C #41992C
monochromatic
#1D113A #351E69 #4D2C99 #663BC7 #8B6BD4
Accessibility & contrast
On white
9.83
#4D2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#4D2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2C99
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2C99 | 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)
#00459C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#34485F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4d2c99; /* rgb */ color: rgb(77, 44, 153); /* oklch */ color: oklch(40.3% 0.167 290.9);
Tailwind
colors: {
custom: {
50: '#8668b8',
500: '#4d2c99',
950: '#000000',
},
}SCSS
$custom: #4d2c99; $custom-light: #8668b8; $custom-dark: #000000;
JSON
{
"hex": "#4d2c99",
"rgb": {
"r": 77,
"g": 44,
"b": 153
},
"hsl": {
"h": 258.165,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.40264,
"c": 0.16664,
"h": 290.9
},
"luminance": 0.05679
}Semantic roles & 50–950 ramp
primary
#4D2C99
secondary
#A1BB66
accent
#DF49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80