#4F1F95#4F1F95
#4F1F95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.177 H 295.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1F95 |
|---|---|
| RGB | rgb(79, 31, 149) |
| HSL | hsl(264, 66%, 35%) |
| HSV | hsv(264, 79%, 58%) |
| CMYK | cmyk(47%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(26.19, 47.19, -55.75) |
| CIE-LCH | lch(26.19, 73.04, 310.25°) |
| OKLab | oklab(38.52% 0.075 -0.1598) |
| OKLCH | oklch(38.52% 0.177 295.1) |
| XYZ | xyz(9.1378, 4.8119, 28.8753) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.90
Indigo Blue
#3A18B1
ΔE00 5.06
Rebeccapurple
#663399
ΔE00 5.88
Indigo (survey)
#380282
ΔE00 5.90
Violet Blue
#510AC9
ΔE00 7.04
Ultramarine
#2000B1
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1F95 #65951F
analogous
#1F2A95 #4F1F95 #8A1F95
triadic
#4F1F95 #954F1F #1F954F
tetradic
#4F1F95 #951F2A #65951F #1F958A
square
#4F1F95 #951F2A #65951F #1F958A
split-complementary
#4F1F95 #958A1F #2A951F
monochromatic
#190A30 #341462 #4F1F95 #6A2AC8 #8B53DB
Accessibility & contrast
On white
10.70
#4F1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#4F1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1F95
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1F95 | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#3B405A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4f1f95; /* rgb */ color: rgb(79, 31, 149); /* oklch */ color: oklch(38.5% 0.177 295.1);
Tailwind
colors: {
custom: {
50: '#8861b5',
500: '#4f1f95',
950: '#000000',
},
}SCSS
$custom: #4f1f95; $custom-light: #8861b5; $custom-dark: #000000;
JSON
{
"hex": "#4f1f95",
"rgb": {
"r": 79,
"g": 31,
"b": 149
},
"hsl": {
"h": 264.407,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.38518,
"c": 0.17654,
"h": 295.1
},
"luminance": 0.04812
}Semantic roles & 50–950 ramp
primary
#4F1F95
secondary
#92BF51
accent
#E93FA4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980