#4F219C#4F219C
#4F219C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.182 H 293.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4F219C |
|---|---|
| RGB | rgb(79, 33, 156) |
| HSL | hsl(262, 65%, 37%) |
| HSV | hsv(262, 79%, 61%) |
| CMYK | cmyk(49.4%, 78.8%, 0%, 38.8%) |
| CIE-LAB | lab(27.16, 48.17, -58.46) |
| CIE-LCH | lch(27.16, 75.75, 309.49°) |
| OKLab | oklab(39.39% 0.0712 -0.1678) |
| OKLCH | oklch(39.39% 0.182 293) |
| XYZ | xyz(9.7674, 5.1499, 31.9254) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.27
Rebeccapurple
#663399
ΔE00 5.78
Indigo
#4B0082
ΔE00 5.87
Violet Blue
#510AC9
ΔE00 6.09
Indigo (survey)
#380282
ΔE00 6.63
Ultramarine
#2000B1
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F219C #6E9C21
analogous
#21319C #4F219C #8D219C
triadic
#4F219C #9C4F21 #219C4F
tetradic
#4F219C #9C2131 #6E9C21 #219C8D
square
#4F219C #9C2131 #6E9C21 #219C8D
split-complementary
#4F219C #9C8D21 #319C21
monochromatic
#1C0C37 #351669 #4F219C #692CCF #8B5BDC
Accessibility & contrast
On white
10.34
#4F219C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4F219C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F219C
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F219C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F219C | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#37445E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f219c; /* rgb */ color: rgb(79, 33, 156); /* oklch */ color: oklch(39.4% 0.182 293.0);
Tailwind
colors: {
custom: {
50: '#8962ba',
500: '#4f219c',
950: '#000000',
},
}SCSS
$custom: #4f219c; $custom-light: #8962ba; $custom-dark: #000000;
JSON
{
"hex": "#4f219c",
"rgb": {
"r": 79,
"g": 33,
"b": 156
},
"hsl": {
"h": 262.439,
"s": 65.079,
"l": 37.059
},
"oklch": {
"l": 0.39392,
"c": 0.1823,
"h": 293
},
"luminance": 0.0515
}Semantic roles & 50–950 ramp
primary
#4F219C
secondary
#9AC158
accent
#E840A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81