#4E2FB8#4E2FB8
#4E2FB8 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.6% C 0.200 H 284.9°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2FB8 |
|---|---|
| RGB | rgb(78, 47, 184) |
| HSL | hsl(254, 59%, 45%) |
| HSV | hsv(254, 74%, 72%) |
| CMYK | cmyk(57.6%, 74.5%, 0%, 27.8%) |
| CIE-LAB | lab(32.06, 49.17, -67.24) |
| CIE-LCH | lch(32.06, 83.31, 306.18°) |
| OKLab | oklab(43.61% 0.0514 -0.1937) |
| OKLCH | oklch(43.61% 0.2 284.9) |
| XYZ | xyz(12.8075, 7.1126, 46.0361) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.70
Blurple
#5539CC
ΔE00 3.79
Purple Blue
#5D21D0
ΔE00 4.07
Ocean Blue
#4F42B5
ΔE00 4.72
Violet Blue
#510AC9
ΔE00 4.85
Indigo Blue
#3A18B1
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2FB8 #99B82F
analogous
#2F54B8 #4E2FB8 #932FB8
triadic
#4E2FB8 #B84E2F #2FB84E
tetradic
#4E2FB8 #B82F54 #99B82F #2FB893
square
#4E2FB8 #B82F54 #99B82F #2FB893
split-complementary
#4E2FB8 #B8932F #54B82F
monochromatic
#251657 #392387 #4E2FB8 #6F52D3 #9782DF
Accessibility & contrast
On white
8.67
#4E2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#4E2FB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2FB8
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2FB8 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#165571
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #4e2fb8; /* rgb */ color: rgb(78, 47, 184); /* oklch */ color: oklch(43.6% 0.200 284.9);
Tailwind
colors: {
custom: {
50: '#8b6bce',
500: '#4e2fb8',
950: '#000000',
},
}SCSS
$custom: #4e2fb8; $custom-light: #8b6bce; $custom-dark: #000000;
JSON
{
"hex": "#4e2fb8",
"rgb": {
"r": 78,
"g": 47,
"b": 184
},
"hsl": {
"h": 253.577,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.43611,
"c": 0.20036,
"h": 284.9
},
"luminance": 0.07113
}Semantic roles & 50–950 ramp
primary
#4E2FB8
secondary
#B7C87B
accent
#E245BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82