#3C2292#3C2292
#3C2292 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.170 H 284.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2292 |
|---|---|
| RGB | rgb(60, 34, 146) |
| HSL | hsl(254, 62%, 35%) |
| HSV | hsv(254, 77%, 57%) |
| CMYK | cmyk(58.9%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(24.26, 42.10, -57.16) |
| CIE-LCH | lch(24.26, 70.99, 306.37°) |
| OKLab | oklab(36.58% 0.0438 -0.1646) |
| OKLCH | oklch(36.58% 0.17 284.9) |
| XYZ | xyz(7.6222, 4.1796, 27.5936) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.55
Royal
#0C1793
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 5.95
Indigo
#4B0082
ΔE00 6.12
Ultramarine
#2000B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2292 #789222
analogous
#224092 #3C2292 #742292
triadic
#3C2292 #923C22 #22923C
tetradic
#3C2292 #922240 #789222 #229274
square
#3C2292 #922240 #789222 #229274
split-complementary
#3C2292 #927422 #409222
monochromatic
#130B2F #281660 #3C2292 #502EC4 #7557D8
Accessibility & contrast
On white
11.44
#3C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#3C2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2292
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2292 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#0D4258
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3c2292; /* rgb */ color: rgb(60, 34, 146); /* oklch */ color: oklch(36.6% 0.170 284.9);
Tailwind
colors: {
custom: {
50: '#7c60b3',
500: '#3c2292',
950: '#000000',
},
}SCSS
$custom: #3c2292; $custom-light: #7c60b3; $custom-dark: #000000;
JSON
{
"hex": "#3c2292",
"rgb": {
"r": 60,
"g": 34,
"b": 146
},
"hsl": {
"h": 253.929,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.36576,
"c": 0.17035,
"h": 284.9
},
"luminance": 0.0418
}Semantic roles & 50–950 ramp
primary
#3C2292
secondary
#A4BC54
accent
#E543C0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980