#4F219E#4F219E
#4F219E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.185 H 292.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4F219E |
|---|---|
| RGB | rgb(79, 33, 158) |
| HSL | hsl(262, 65%, 37%) |
| HSV | hsv(262, 79%, 62%) |
| CMYK | cmyk(50%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(27.35, 48.71, -59.37) |
| CIE-LCH | lch(27.35, 76.79, 309.37°) |
| OKLab | oklab(39.58% 0.0706 -0.1705) |
| OKLCH | oklch(39.58% 0.185 292.5) |
| XYZ | xyz(9.9381, 5.2182, 32.8247) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.06
Violet Blue
#510AC9
ΔE00 5.81
Rebeccapurple
#663399
ΔE00 5.85
Indigo
#4B0082
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.70
Indigo (survey)
#380282
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F219E #709E21
analogous
#21329E #4F219E #8E219E
triadic
#4F219E #9E4F21 #219E4F
tetradic
#4F219E #9E2132 #709E21 #219E8E
square
#4F219E #9E2132 #709E21 #219E8E
split-complementary
#4F219E #9E8E21 #329E21
monochromatic
#1C0C39 #36166B #4F219E #682CD1 #8C5CDD
Accessibility & contrast
On white
10.27
#4F219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4F219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F219E
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F219E | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#35445F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4f219e; /* rgb */ color: rgb(79, 33, 158); /* oklch */ color: oklch(39.6% 0.185 292.5);
Tailwind
colors: {
custom: {
50: '#8962bc',
500: '#4f219e',
950: '#000000',
},
}SCSS
$custom: #4f219e; $custom-light: #8962bc; $custom-dark: #000000;
JSON
{
"hex": "#4f219e",
"rgb": {
"r": 79,
"g": 33,
"b": 158
},
"hsl": {
"h": 262.08,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.39582,
"c": 0.18452,
"h": 292.5
},
"luminance": 0.05219
}Semantic roles & 50–950 ramp
primary
#4F219E
secondary
#9BC159
accent
#E83FAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81