#4F22B3#4F22B3
#4F22B3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.7% C 0.207 H 287.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4F22B3 |
|---|---|
| RGB | rgb(79, 34, 179) |
| HSL | hsl(259, 68%, 42%) |
| HSV | hsv(259, 81%, 70%) |
| CMYK | cmyk(55.9%, 81%, 0%, 29.8%) |
| CIE-LAB | lab(29.56, 53.95, -68.38) |
| CIE-LCH | lch(29.56, 87.10, 308.27°) |
| OKLab | oklab(41.74% 0.0632 -0.1968) |
| OKLCH | oklch(41.74% 0.207 287.8) |
| XYZ | xyz(11.9307, 6.0604, 43.1802) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.12
Violet Blue
#510AC9
ΔE00 3.32
Purple Blue
#5D21D0
ΔE00 4.29
True Blue
#010FCC
ΔE00 5.98
Blurple
#5539CC
ΔE00 6.06
Ultramarine Blue
#1805DB
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F22B3 #86B322
analogous
#223DB3 #4F22B3 #9822B3
triadic
#4F22B3 #B34F22 #22B34F
tetradic
#4F22B3 #B3223D #86B322 #22B398
square
#4F22B3 #B3223D #86B322 #22B398
split-complementary
#4F22B3 #B39822 #3DB322
monochromatic
#220E4C #381880 #4F22B3 #6B39D9 #916CE3
Accessibility & contrast
On white
9.49
#4F22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4F22B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F22B3
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F22B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F22B3 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#224E6B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4f22b3; /* rgb */ color: rgb(79, 34, 179); /* oklch */ color: oklch(41.7% 0.207 287.8);
Tailwind
colors: {
custom: {
50: '#8c64cb',
500: '#4f22b3',
950: '#000000',
},
}SCSS
$custom: #4f22b3; $custom-light: #8c64cb; $custom-dark: #000000;
JSON
{
"hex": "#4f22b3",
"rgb": {
"r": 79,
"g": 34,
"b": 179
},
"hsl": {
"h": 258.621,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.41744,
"c": 0.20672,
"h": 287.8
},
"luminance": 0.06061
}Semantic roles & 50–950 ramp
primary
#4F22B3
secondary
#ABC968
accent
#EB3DB5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82