#4E2B7F#4E2B7F
#4E2B7F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.136 H 299.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2B7F |
|---|---|
| RGB | rgb(78, 43, 127) |
| HSL | hsl(265, 49%, 33%) |
| HSV | hsv(265, 66%, 50%) |
| CMYK | cmyk(38.6%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(26.39, 34.90, -41.74) |
| CIE-LCH | lch(26.39, 54.41, 309.90°) |
| OKLab | oklab(38.05% 0.0657 -0.1188) |
| OKLCH | oklch(38.05% 0.136 299) |
| XYZ | xyz(7.8356, 4.8797, 20.6036) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.00
Indigo
#4B0082
ΔE00 6.94
Royal Purple (survey)
#4B006E
ΔE00 7.52
Blueberry
#464196
ΔE00 7.91
Indigo (survey)
#380282
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2B7F #5C7F2B
analogous
#2B327F #4E2B7F #782B7F
triadic
#4E2B7F #7F4E2B #2B7F4E
tetradic
#4E2B7F #7F2B32 #5C7F2B #2B7F78
square
#4E2B7F #7F2B32 #5C7F2B #2B7F78
split-complementary
#4E2B7F #7F782B #327F2B
monochromatic
#160C24 #321C51 #4E2B7F #6A3AAD #895CC8
Accessibility & contrast
On white
10.63
#4E2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#4E2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2B7F
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2B7F | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#013E7D
Tritanopia (blue-blind)
#433E51
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4e2b7f; /* rgb */ color: rgb(78, 43, 127); /* oklch */ color: oklch(38.1% 0.136 299.0);
Tailwind
colors: {
custom: {
50: '#8466a5',
500: '#4e2b7f',
950: '#000000',
},
}SCSS
$custom: #4e2b7f; $custom-light: #8466a5; $custom-dark: #000000;
JSON
{
"hex": "#4e2b7f",
"rgb": {
"r": 78,
"g": 43,
"b": 127
},
"hsl": {
"h": 265,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.38052,
"c": 0.13575,
"h": 299
},
"luminance": 0.0488
}Semantic roles & 50–950 ramp
primary
#4E2B7F
secondary
#8AAE58
accent
#D94F9F
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F