#3C22B1#3C22B1
#3C22B1 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.207 H 279.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3C22B1 |
|---|---|
| RGB | rgb(60, 34, 177) |
| HSL | hsl(251, 68%, 41%) |
| HSV | hsv(251, 81%, 69%) |
| CMYK | cmyk(66.1%, 80.8%, 0%, 30.6%) |
| CIE-LAB | lab(27.51, 51.35, -70.63) |
| CIE-LCH | lch(27.51, 87.33, 306.02°) |
| OKLab | oklab(39.82% 0.0348 -0.2039) |
| OKLCH | oklch(39.82% 0.207 279.7) |
| XYZ | xyz(10.3688, 5.2782, 42.0588) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.62
Violet Blue
#510AC9
ΔE00 4.40
True Blue
#010FCC
ΔE00 4.44
Ultramarine
#2000B1
ΔE00 4.80
Mediumblue
#0000CD
ΔE00 5.06
Ultramarine Blue
#1805DB
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C22B1 #97B122
analogous
#2250B1 #3C22B1 #8422B1
triadic
#3C22B1 #B13C22 #22B13C
tetradic
#3C22B1 #B12250 #97B122 #22B184
square
#3C22B1 #B12250 #97B122 #22B184
split-complementary
#3C22B1 #B18422 #50B122
monochromatic
#190E4A #2B187E #3C22B1 #5538D9 #816BE3
Accessibility & contrast
On white
10.22
#3C22B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#3C22B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C22B1
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C22B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C22B1 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3c22b1; /* rgb */ color: rgb(60, 34, 177); /* oklch */ color: oklch(39.8% 0.207 279.7);
Tailwind
colors: {
custom: {
50: '#8262ca',
500: '#3c22b1',
950: '#000000',
},
}SCSS
$custom: #3c22b1; $custom-light: #8262ca; $custom-dark: #000000;
JSON
{
"hex": "#3c22b1",
"rgb": {
"r": 60,
"g": 34,
"b": 177
},
"hsl": {
"h": 250.909,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.39818,
"c": 0.20689,
"h": 279.7
},
"luminance": 0.05279
}Semantic roles & 50–950 ramp
primary
#3C22B1
secondary
#B7C966
accent
#EB3DCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82