#4C22B3#4C22B3
#4C22B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.207 H 286.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4C22B3 |
|---|---|
| RGB | rgb(76, 34, 179) |
| HSL | hsl(257, 68%, 42%) |
| HSV | hsv(257, 81%, 70%) |
| CMYK | cmyk(57.5%, 81%, 0%, 29.8%) |
| CIE-LAB | lab(29.25, 53.60, -68.91) |
| CIE-LCH | lch(29.25, 87.31, 307.88°) |
| OKLab | oklab(41.45% 0.0585 -0.1985) |
| OKLCH | oklch(41.45% 0.207 286.4) |
| XYZ | xyz(11.6868, 5.9346, 43.1688) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.78
Violet Blue
#510AC9
ΔE00 3.37
Purple Blue
#5D21D0
ΔE00 4.50
True Blue
#010FCC
ΔE00 5.65
Ultramarine Blue
#1805DB
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C22B3 #89B322
analogous
#2241B3 #4C22B3 #9522B3
triadic
#4C22B3 #B34C22 #22B34C
tetradic
#4C22B3 #B32241 #89B322 #22B395
square
#4C22B3 #B32241 #89B322 #22B395
split-complementary
#4C22B3 #B39522 #41B322
monochromatic
#200E4C #361880 #4C22B3 #6739D9 #8F6CE3
Accessibility & contrast
On white
9.60
#4C22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#4C22B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C22B3
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C22B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C22B3 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#184E6B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #4c22b3; /* rgb */ color: rgb(76, 34, 179); /* oklch */ color: oklch(41.4% 0.207 286.4);
Tailwind
colors: {
custom: {
50: '#8a64cb',
500: '#4c22b3',
950: '#000000',
},
}SCSS
$custom: #4c22b3; $custom-light: #8a64cb; $custom-dark: #000000;
JSON
{
"hex": "#4c22b3",
"rgb": {
"r": 76,
"g": 34,
"b": 179
},
"hsl": {
"h": 257.379,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.4145,
"c": 0.20692,
"h": 286.4
},
"luminance": 0.05935
}Semantic roles & 50–950 ramp
primary
#4C22B3
secondary
#ADC968
accent
#EB3DB9
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82