#4F196C#4F196C
#4F196C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.139 H 310.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4F196C |
|---|---|
| RGB | rgb(79, 25, 108) |
| HSL | hsl(279, 62%, 26%) |
| HSV | hsv(279, 77%, 42%) |
| CMYK | cmyk(26.9%, 76.9%, 0%, 57.6%) |
| CIE-LAB | lab(21.73, 39.50, -37.13) |
| CIE-LCH | lch(21.73, 54.21, 316.77°) |
| OKLab | oklab(34.28% 0.0907 -0.1051) |
| OKLCH | oklch(34.28% 0.139 310.8) |
| XYZ | xyz(6.2783, 3.4404, 14.5178) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.60
Indigo
#4B0082
ΔE00 5.58
Plum Purple
#4E0550
ΔE00 6.36
Indigo (survey)
#380282
ΔE00 7.53
Deep Violet
#490648
ΔE00 7.74
Darkish Purple
#751973
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F196C #366C19
analogous
#25196C #4F196C #6C195F
triadic
#4F196C #6C4F19 #196C4F
tetradic
#4F196C #6C2519 #366C19 #195F6C
square
#4F196C #6C2519 #366C19 #195F6C
split-complementary
#4F196C #5F6C19 #196C25
monochromatic
#120619 #2B0D3A #4F196C #73259E #9830CF
Accessibility & contrast
On white
12.44
#4F196C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#4F196C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F196C
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F196C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F196C | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#0A356A
Tritanopia (blue-blind)
#4B2C41
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #4f196c; /* rgb */ color: rgb(79, 25, 108); /* oklch */ color: oklch(34.3% 0.139 310.8);
Tailwind
colors: {
custom: {
50: '#845c97',
500: '#4f196c',
950: '#000000',
},
}SCSS
$custom: #4f196c; $custom-light: #845c97; $custom-dark: #000000;
JSON
{
"hex": "#4f196c",
"rgb": {
"r": 79,
"g": 25,
"b": 108
},
"hsl": {
"h": 279.036,
"s": 62.406,
"l": 26.078
},
"oklch": {
"l": 0.34283,
"c": 0.13885,
"h": 310.8
},
"luminance": 0.0344
}Semantic roles & 50–950 ramp
primary
#4F196C
secondary
#62A13F
accent
#E5427B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E