#4F197E#4F197E
#4F197E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.158 H 303.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4F197E |
|---|---|
| RGB | rgb(79, 25, 126) |
| HSL | hsl(272, 67%, 30%) |
| HSV | hsv(272, 80%, 49%) |
| CMYK | cmyk(37.3%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(23.22, 43.86, -46.25) |
| CIE-LCH | lch(23.22, 63.74, 313.48°) |
| OKLab | oklab(35.8% 0.0867 -0.1319) |
| OKLCH | oklch(35.8% 0.158 303.3) |
| XYZ | xyz(7.3371, 3.8639, 20.0939) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.21
Royal Purple (survey)
#4B006E
ΔE00 4.04
Indigo (survey)
#380282
ΔE00 5.25
Rebeccapurple
#663399
ΔE00 7.36
Indigo Blue
#3A18B1
ΔE00 8.56
Midnight Blue
#191970
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F197E #487E19
analogous
#1D197E #4F197E #7E197B
triadic
#4F197E #7E4F19 #197E4F
tetradic
#4F197E #7E1D19 #487E19 #197B7E
square
#4F197E #7E1D19 #487E19 #197B7E
split-complementary
#4F197E #7B7E19 #197E1D
monochromatic
#10051A #2F0F4B #4F197E #6F23B1 #8E3AD8
Accessibility & contrast
On white
11.85
#4F197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#4F197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F197E
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F197E | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#45334B
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4f197e; /* rgb */ color: rgb(79, 25, 126); /* oklch */ color: oklch(35.8% 0.158 303.3);
Tailwind
colors: {
custom: {
50: '#855da4',
500: '#4f197e',
950: '#000000',
},
}SCSS
$custom: #4f197e; $custom-light: #855da4; $custom-dark: #000000;
JSON
{
"hex": "#4f197e",
"rgb": {
"r": 79,
"g": 25,
"b": 126
},
"hsl": {
"h": 272.079,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.35797,
"c": 0.15787,
"h": 303.3
},
"luminance": 0.03864
}Semantic roles & 50–950 ramp
primary
#4F197E
secondary
#75B241
accent
#EA3E8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F