#4E239F#4E239F
#4E239F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.184 H 291.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4E239F |
|---|---|
| RGB | rgb(78, 35, 159) |
| HSL | hsl(261, 64%, 38%) |
| HSV | hsv(261, 78%, 62%) |
| CMYK | cmyk(50.9%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(27.64, 47.93, -59.50) |
| CIE-LCH | lch(27.64, 76.40, 308.85°) |
| OKLab | oklab(39.79% 0.0672 -0.1709) |
| OKLCH | oklch(39.79% 0.184 291.5) |
| XYZ | xyz(9.9991, 5.3246, 33.2951) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.97
Violet Blue
#510AC9
ΔE00 5.78
Rebeccapurple
#663399
ΔE00 5.81
Indigo
#4B0082
ΔE00 6.46
Ultramarine
#2000B1
ΔE00 6.75
Purple Blue
#5D21D0
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E239F #749F23
analogous
#23369F #4E239F #8C239F
triadic
#4E239F #9F4E23 #239F4E
tetradic
#4E239F #9F2336 #749F23 #239F8C
square
#4E239F #9F2336 #749F23 #239F8C
split-complementary
#4E239F #9F8C23 #369F23
monochromatic
#1D0D3B #35186D #4E239F #672ED1 #8B60DC
Accessibility & contrast
On white
10.17
#4E239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4E239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E239F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E239F | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#324660
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4e239f; /* rgb */ color: rgb(78, 35, 159); /* oklch */ color: oklch(39.8% 0.184 291.5);
Tailwind
colors: {
custom: {
50: '#8863bc',
500: '#4e239f',
950: '#000000',
},
}SCSS
$custom: #4e239f; $custom-light: #8863bc; $custom-dark: #000000;
JSON
{
"hex": "#4e239f",
"rgb": {
"r": 78,
"g": 35,
"b": 159
},
"hsl": {
"h": 260.806,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.39789,
"c": 0.18365,
"h": 291.5
},
"luminance": 0.05325
}Semantic roles & 50–950 ramp
primary
#4E239F
secondary
#9EC15D
accent
#E741AD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81