#4F219F#4F219F
#4F219F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.186 H 292.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4F219F |
|---|---|
| RGB | rgb(79, 33, 159) |
| HSL | hsl(262, 66%, 38%) |
| HSV | hsv(262, 79%, 62%) |
| CMYK | cmyk(50.3%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.44, 48.98, -59.82) |
| CIE-LCH | lch(27.44, 77.31, 309.31°) |
| OKLab | oklab(39.68% 0.0703 -0.1718) |
| OKLCH | oklch(39.68% 0.186 292.3) |
| XYZ | xyz(10.0246, 5.2528, 33.2799) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.95
Violet Blue
#510AC9
ΔE00 5.68
Rebeccapurple
#663399
ΔE00 5.88
Indigo
#4B0082
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.64
Indigo (survey)
#380282
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F219F #719F21
analogous
#21329F #4F219F #8E219F
triadic
#4F219F #9F4F21 #219F4F
tetradic
#4F219F #9F2132 #719F21 #219F8E
square
#4F219F #9F2132 #719F21 #219F8E
split-complementary
#4F219F #9F8E21 #329F21
monochromatic
#1D0C3A #36166C #4F219F #682CD2 #8C5DDD
Accessibility & contrast
On white
10.24
#4F219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4F219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F219F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F219F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#354560
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4f219f; /* rgb */ color: rgb(79, 33, 159); /* oklch */ color: oklch(39.7% 0.186 292.3);
Tailwind
colors: {
custom: {
50: '#8962bc',
500: '#4f219f',
950: '#000000',
},
}SCSS
$custom: #4f219f; $custom-light: #8962bc; $custom-dark: #000000;
JSON
{
"hex": "#4f219f",
"rgb": {
"r": 79,
"g": 33,
"b": 159
},
"hsl": {
"h": 261.905,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.39678,
"c": 0.18562,
"h": 292.3
},
"luminance": 0.05253
}Semantic roles & 50–950 ramp
primary
#4F219F
secondary
#9CC25A
accent
#E93FAB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81