#4F1EA6#4F1EA6
#4F1EA6 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.1% C 0.196 H 291.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1EA6 |
|---|---|
| RGB | rgb(79, 30, 166) |
| HSL | hsl(262, 69%, 38%) |
| HSV | hsv(262, 82%, 65%) |
| CMYK | cmyk(52.4%, 81.9%, 0%, 34.9%) |
| CIE-LAB | lab(27.69, 52.12, -63.66) |
| CIE-LCH | lch(27.69, 82.27, 309.31°) |
| OKLab | oklab(40.06% 0.0701 -0.183) |
| OKLCH | oklch(40.06% 0.196 291) |
| XYZ | xyz(10.5697, 5.3435, 36.5435) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.19
Violet Blue
#510AC9
ΔE00 4.61
Ultramarine
#2000B1
ΔE00 6.03
Purple Blue
#5D21D0
ΔE00 6.07
Rebeccapurple
#663399
ΔE00 6.48
Indigo
#4B0082
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1EA6 #75A61E
analogous
#1E31A6 #4F1EA6 #931EA6
triadic
#4F1EA6 #A64F1E #1EA64F
tetradic
#4F1EA6 #A61E31 #75A61E #1EA693
square
#4F1EA6 #A61E31 #75A61E #1EA693
split-complementary
#4F1EA6 #A6931E #31A61E
monochromatic
#1E0B3E #361572 #4F1EA6 #6829D8 #8D5DE2
Accessibility & contrast
On white
10.15
#4F1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4F1EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1EA6
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1EA6 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#304763
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4f1ea6; /* rgb */ color: rgb(79, 30, 166); /* oklch */ color: oklch(40.1% 0.196 291.0);
Tailwind
colors: {
custom: {
50: '#8a61c2',
500: '#4f1ea6',
950: '#000000',
},
}SCSS
$custom: #4f1ea6; $custom-light: #8a61c2; $custom-dark: #000000;
JSON
{
"hex": "#4f1ea6",
"rgb": {
"r": 79,
"g": 30,
"b": 166
},
"hsl": {
"h": 261.618,
"s": 69.388,
"l": 38.431
},
"oklch": {
"l": 0.40057,
"c": 0.19597,
"h": 291
},
"luminance": 0.05344
}Semantic roles & 50–950 ramp
primary
#4F1EA6
secondary
#9FC65A
accent
#EC3CAD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81