#3C2191#3C2191
#3C2191 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.170 H 285.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2191 |
|---|---|
| RGB | rgb(60, 33, 145) |
| HSL | hsl(254, 63%, 35%) |
| HSV | hsv(254, 77%, 57%) |
| CMYK | cmyk(58.6%, 77.2%, 0%, 43.1%) |
| CIE-LAB | lab(23.97, 42.31, -57.00) |
| CIE-LCH | lch(23.97, 70.99, 306.59°) |
| OKLab | oklab(36.35% 0.0448 -0.1642) |
| OKLCH | oklch(36.35% 0.17 285.3) |
| XYZ | xyz(7.5166, 4.0923, 27.1764) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.62
Royal
#0C1793
ΔE00 4.75
Indigo (survey)
#380282
ΔE00 5.20
Indigo
#4B0082
ΔE00 5.89
Cobalt Blue
#030AA7
ΔE00 5.91
Ultramarine
#2000B1
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2191 #769121
analogous
#213E91 #3C2191 #742191
triadic
#3C2191 #913C21 #21913C
tetradic
#3C2191 #91213E #769121 #219174
square
#3C2191 #91213E #769121 #219174
split-complementary
#3C2191 #917421 #3E9121
monochromatic
#130A2D #27165F #3C2191 #512CC3 #7454D8
Accessibility & contrast
On white
11.55
#3C2191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3C2191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2191
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2191 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#0F4158
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c2191; /* rgb */ color: rgb(60, 33, 145); /* oklch */ color: oklch(36.3% 0.170 285.3);
Tailwind
colors: {
custom: {
50: '#7c60b2',
500: '#3c2191',
950: '#000000',
},
}SCSS
$custom: #3c2191; $custom-light: #7c60b2; $custom-dark: #000000;
JSON
{
"hex": "#3c2191",
"rgb": {
"r": 60,
"g": 33,
"b": 145
},
"hsl": {
"h": 254.464,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.36347,
"c": 0.17017,
"h": 285.3
},
"luminance": 0.04093
}Semantic roles & 50–950 ramp
primary
#3C2191
secondary
#A2BC52
accent
#E642BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980