#4F196F#4F196F
#4F196F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.142 H 309.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4F196F |
|---|---|
| RGB | rgb(79, 25, 111) |
| HSL | hsl(278, 63%, 27%) |
| HSV | hsv(278, 77%, 44%) |
| CMYK | cmyk(28.8%, 77.5%, 0%, 56.5%) |
| CIE-LAB | lab(21.96, 40.21, -38.69) |
| CIE-LCH | lch(21.96, 55.80, 316.10°) |
| OKLab | oklab(34.52% 0.0902 -0.1097) |
| OKLCH | oklch(34.52% 0.142 309.4) |
| XYZ | xyz(6.4407, 3.5053, 15.3731) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.41
Indigo
#4B0082
ΔE00 5.06
Plum Purple
#4E0550
ΔE00 6.92
Indigo (survey)
#380282
ΔE00 7.04
Darkish Purple
#751973
ΔE00 8.15
Deep Violet
#490648
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F196F #396F19
analogous
#24196F #4F196F #6F1964
triadic
#4F196F #6F4F19 #196F4F
tetradic
#4F196F #6F2419 #396F19 #19646F
square
#4F196F #6F2419 #396F19 #19646F
split-complementary
#4F196F #646F19 #196F24
monochromatic
#120619 #2B0E3D #4F196F #7324A1 #9632D1
Accessibility & contrast
On white
12.35
#4F196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#4F196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F196F
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F196F | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#03356D
Tritanopia (blue-blind)
#4A2D43
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #4f196f; /* rgb */ color: rgb(79, 25, 111); /* oklch */ color: oklch(34.5% 0.142 309.4);
Tailwind
colors: {
custom: {
50: '#845c99',
500: '#4f196f',
950: '#000000',
},
}SCSS
$custom: #4f196f; $custom-light: #845c99; $custom-dark: #000000;
JSON
{
"hex": "#4f196f",
"rgb": {
"r": 79,
"g": 25,
"b": 111
},
"hsl": {
"h": 277.674,
"s": 63.235,
"l": 26.667
},
"oklch": {
"l": 0.34524,
"c": 0.142,
"h": 309.4
},
"luminance": 0.03505
}Semantic roles & 50–950 ramp
primary
#4F196F
secondary
#65A43F
accent
#E6427F
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E