#3C2193#3C2193
#3C2193 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.173 H 284.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2193 |
|---|---|
| RGB | rgb(60, 33, 147) |
| HSL | hsl(254, 63%, 35%) |
| HSV | hsv(254, 78%, 58%) |
| CMYK | cmyk(59.2%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(24.18, 42.92, -57.91) |
| CIE-LCH | lch(24.18, 72.08, 306.54°) |
| OKLab | oklab(36.55% 0.0443 -0.1668) |
| OKLCH | oklch(36.55% 0.173 284.9) |
| XYZ | xyz(7.6722, 4.1545, 27.9957) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.33
Royal
#0C1793
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.74
Ultramarine
#2000B1
ΔE00 5.96
Indigo
#4B0082
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2193 #789321
analogous
#213F93 #3C2193 #752193
triadic
#3C2193 #933C21 #21933C
tetradic
#3C2193 #93213F #789321 #219375
square
#3C2193 #93213F #789321 #219375
split-complementary
#3C2193 #937521 #3F9321
monochromatic
#130B2F #281661 #3C2193 #502CC5 #7555D9
Accessibility & contrast
On white
11.47
#3C2193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C2193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2193
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2193 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#0B4259
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c2193; /* rgb */ color: rgb(60, 33, 147); /* oklch */ color: oklch(36.5% 0.173 284.9);
Tailwind
colors: {
custom: {
50: '#7d60b4',
500: '#3c2193',
950: '#000000',
},
}SCSS
$custom: #3c2193; $custom-light: #7d60b4; $custom-dark: #000000;
JSON
{
"hex": "#3c2193",
"rgb": {
"r": 60,
"g": 33,
"b": 147
},
"hsl": {
"h": 254.211,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.3655,
"c": 0.17259,
"h": 284.9
},
"luminance": 0.04155
}Semantic roles & 50–950 ramp
primary
#3C2193
secondary
#A4BD53
accent
#E641BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980