#4E2D7C#4E2D7C
#4E2D7C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.1% C 0.129 H 299.5°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2D7C |
|---|---|
| RGB | rgb(78, 45, 124) |
| HSL | hsl(265, 47%, 33%) |
| HSV | hsv(265, 64%, 49%) |
| CMYK | cmyk(37.1%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(26.60, 32.91, -39.51) |
| CIE-LCH | lch(26.60, 51.42, 309.79°) |
| OKLab | oklab(38.13% 0.0634 -0.1122) |
| OKLCH | oklch(38.13% 0.129 299.5) |
| XYZ | xyz(7.7175, 4.9516, 19.6140) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.03
Indigo
#4B0082
ΔE00 7.66
Blueberry
#464196
ΔE00 7.86
Royal Purple (survey)
#4B006E
ΔE00 7.94
Indigo (survey)
#380282
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2D7C #5B7C2D
analogous
#2D337C #4E2D7C #752D7C
triadic
#4E2D7C #7C4E2D #2D7C4E
tetradic
#4E2D7C #7C2D33 #5B7C2D #2D7C75
square
#4E2D7C #7C2D33 #5B7C2D #2D7C75
split-complementary
#4E2D7C #7C752D #337C2D
monochromatic
#160C22 #321D4F #4E2D7C #6A3DA9 #895FC5
Accessibility & contrast
On white
10.55
#4E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#4E2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2D7C
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2D7C | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#0F3E7A
Tritanopia (blue-blind)
#443E50
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4e2d7c; /* rgb */ color: rgb(78, 45, 124); /* oklch */ color: oklch(38.1% 0.129 299.5);
Tailwind
colors: {
custom: {
50: '#8368a2',
500: '#4e2d7c',
950: '#000000',
},
}SCSS
$custom: #4e2d7c; $custom-light: #8368a2; $custom-dark: #000000;
JSON
{
"hex": "#4e2d7c",
"rgb": {
"r": 78,
"g": 45,
"b": 124
},
"hsl": {
"h": 265.063,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.38132,
"c": 0.12892,
"h": 299.5
},
"luminance": 0.04952
}Semantic roles & 50–950 ramp
primary
#4E2D7C
secondary
#89AB5A
accent
#D6519F
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F