#4F197C#4F197C
#4F197C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.156 H 304.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4F197C |
|---|---|
| RGB | rgb(79, 25, 124) |
| HSL | hsl(273, 66%, 29%) |
| HSV | hsv(273, 80%, 49%) |
| CMYK | cmyk(36.3%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(23.04, 43.36, -45.27) |
| CIE-LCH | lch(23.04, 62.69, 313.77°) |
| OKLab | oklab(35.62% 0.0872 -0.129) |
| OKLCH | oklch(35.62% 0.156 304.1) |
| XYZ | xyz(7.2093, 3.8128, 19.4210) |
| Luminance | 0.0381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.36
Royal Purple (survey)
#4B006E
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 5.41
Rebeccapurple
#663399
ΔE00 7.52
Midnight Blue
#191970
ΔE00 8.85
Indigo Blue
#3A18B1
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F197C #467C19
analogous
#1D197C #4F197C #7C1978
triadic
#4F197C #7C4F19 #197C4F
tetradic
#4F197C #7C1D19 #467C19 #19787C
square
#4F197C #7C1D19 #467C19 #19787C
split-complementary
#4F197C #787C19 #197C1D
monochromatic
#100519 #2F0F49 #4F197C #6F23AF #8F38D7
Accessibility & contrast
On white
11.91
#4F197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#4F197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F197C
11.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F197C | 1.00 | 11.91 | 1.76 | 11.91 |
| #FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#46334A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4f197c; /* rgb */ color: rgb(79, 25, 124); /* oklch */ color: oklch(35.6% 0.156 304.1);
Tailwind
colors: {
custom: {
50: '#855ca3',
500: '#4f197c',
950: '#000000',
},
}SCSS
$custom: #4f197c; $custom-light: #855ca3; $custom-dark: #000000;
JSON
{
"hex": "#4f197c",
"rgb": {
"r": 79,
"g": 25,
"b": 124
},
"hsl": {
"h": 272.727,
"s": 66.443,
"l": 29.216
},
"oklch": {
"l": 0.35622,
"c": 0.15575,
"h": 304.1
},
"luminance": 0.03813
}Semantic roles & 50–950 ramp
primary
#4F197C
secondary
#73B040
accent
#E93E8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F