#3C22A0#3C22A0
#3C22A0 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.187 H 282.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3C22A0 |
|---|---|
| RGB | rgb(60, 34, 160) |
| HSL | hsl(252, 65%, 38%) |
| HSV | hsv(252, 79%, 63%) |
| CMYK | cmyk(62.5%, 78.8%, 0%, 37.3%) |
| CIE-LAB | lab(25.69, 46.31, -63.39) |
| CIE-LCH | lch(25.69, 78.50, 306.15°) |
| OKLab | oklab(38.01% 0.0399 -0.1828) |
| OKLCH | oklch(38.01% 0.187 282.3) |
| XYZ | xyz(8.7787, 4.6422, 33.6843) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.70
Royal
#0C1793
ΔE00 5.06
Ultramarine
#2000B1
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.24
Royal Blue (survey)
#0504AA
ΔE00 5.53
True Blue
#010FCC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C22A0 #86A022
analogous
#2247A0 #3C22A0 #7B22A0
triadic
#3C22A0 #A03C22 #22A03C
tetradic
#3C22A0 #A02247 #86A022 #22A07B
square
#3C22A0 #A02247 #86A022 #22A07B
split-complementary
#3C22A0 #A07B22 #47A022
monochromatic
#160D3B #29176E #3C22A0 #4F2DD2 #795FDD
Accessibility & contrast
On white
10.89
#3C22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#3C22A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C22A0
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C22A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C22A0 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #3c22a0; /* rgb */ color: rgb(60, 34, 160); /* oklch */ color: oklch(38.0% 0.187 282.3);
Tailwind
colors: {
custom: {
50: '#7f61bd',
500: '#3c22a0',
950: '#000000',
},
}SCSS
$custom: #3c22a0; $custom-light: #7f61bd; $custom-dark: #000000;
JSON
{
"hex": "#3c22a0",
"rgb": {
"r": 60,
"g": 34,
"b": 160
},
"hsl": {
"h": 252.381,
"s": 64.948,
"l": 38.039
},
"oklch": {
"l": 0.38011,
"c": 0.18712,
"h": 282.3
},
"luminance": 0.04643
}Semantic roles & 50–950 ramp
primary
#3C22A0
secondary
#ADC25C
accent
#E840C5
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981