#4E27A0#4E27A0
#4E27A0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.181 H 290.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4E27A0 |
|---|---|
| RGB | rgb(78, 39, 160) |
| HSL | hsl(259, 61%, 39%) |
| HSV | hsv(259, 76%, 63%) |
| CMYK | cmyk(51.2%, 75.6%, 0%, 37.3%) |
| CIE-LAB | lab(28.40, 46.30, -58.86) |
| CIE-LCH | lch(28.40, 74.89, 308.19°) |
| OKLab | oklab(40.35% 0.0637 -0.169) |
| OKLCH | oklch(40.35% 0.181 290.7) |
| XYZ | xyz(10.2108, 5.6084, 33.7954) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 5.48
Violet Blue
#510AC9
ΔE00 5.95
Purple Blue
#5D21D0
ΔE00 6.72
Indigo
#4B0082
ΔE00 7.17
Ultramarine
#2000B1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E27A0 #79A027
analogous
#273DA0 #4E27A0 #8B27A0
triadic
#4E27A0 #A04E27 #27A04E
tetradic
#4E27A0 #A0273D #79A027 #27A08B
square
#4E27A0 #A0273D #79A027 #27A08B
split-complementary
#4E27A0 #A08B27 #3DA027
monochromatic
#1E0F3E #361B6F #4E27A0 #6736CE #8C67DA
Accessibility & contrast
On white
9.90
#4E27A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4E27A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E27A0
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E27A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E27A0 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#314862
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4e27a0; /* rgb */ color: rgb(78, 39, 160); /* oklch */ color: oklch(40.4% 0.181 290.7);
Tailwind
colors: {
custom: {
50: '#8865bd',
500: '#4e27a0',
950: '#000000',
},
}SCSS
$custom: #4e27a0; $custom-light: #8865bd; $custom-dark: #000000;
JSON
{
"hex": "#4e27a0",
"rgb": {
"r": 78,
"g": 39,
"b": 160
},
"hsl": {
"h": 259.339,
"s": 60.804,
"l": 39.02
},
"oklch": {
"l": 0.40351,
"c": 0.18067,
"h": 290.7
},
"luminance": 0.05609
}Semantic roles & 50–950 ramp
primary
#4E27A0
secondary
#A2C063
accent
#E444B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81