#4E2F8D#4E2F8D
#4E2F8D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.148 H 293.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2F8D |
|---|---|
| RGB | rgb(78, 47, 141) |
| HSL | hsl(260, 50%, 37%) |
| HSV | hsv(260, 67%, 55%) |
| CMYK | cmyk(44.7%, 66.7%, 0%, 44.7%) |
| CIE-LAB | lab(28.32, 36.58, -47.35) |
| CIE-LCH | lch(28.32, 59.84, 307.69°) |
| OKLab | oklab(39.78% 0.0595 -0.1353) |
| OKLCH | oklch(39.78% 0.148 293.8) |
| XYZ | xyz(8.9648, 5.5756, 25.7980) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.68
Rebeccapurple
#663399
ΔE00 4.69
Blueberry
#464196
ΔE00 6.03
Indigo Blue
#3A18B1
ΔE00 7.56
Indigo
#4B0082
ΔE00 7.74
Ocean Blue
#4F42B5
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2F8D #6E8D2F
analogous
#2F3F8D #4E2F8D #7D2F8D
triadic
#4E2F8D #8D4E2F #2F8D4E
tetradic
#4E2F8D #8D2F3F #6E8D2F #2F8D7D
square
#4E2F8D #8D2F3F #6E8D2F #2F8D7D
split-complementary
#4E2F8D #8D7D2F #3F8D2F
monochromatic
#1B1031 #35205F #4E2F8D #673EBB #8A69CD
Accessibility & contrast
On white
9.93
#4E2F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E2F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2F8D
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2F8D | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#3C4559
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e2f8d; /* rgb */ color: rgb(78, 47, 141); /* oklch */ color: oklch(39.8% 0.148 293.8);
Tailwind
colors: {
custom: {
50: '#8569af',
500: '#4e2f8d',
950: '#000000',
},
}SCSS
$custom: #4e2f8d; $custom-light: #8569af; $custom-dark: #000000;
JSON
{
"hex": "#4e2f8d",
"rgb": {
"r": 78,
"g": 47,
"b": 141
},
"hsl": {
"h": 259.787,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.39785,
"c": 0.14782,
"h": 293.8
},
"luminance": 0.05576
}Semantic roles & 50–950 ramp
primary
#4E2F8D
secondary
#9AB464
accent
#DA4EAC
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F