#3C2091#3C2091
#3C2091 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.171 H 285.4°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2091 |
|---|---|
| RGB | rgb(60, 32, 145) |
| HSL | hsl(255, 64%, 35%) |
| HSV | hsv(255, 78%, 57%) |
| CMYK | cmyk(58.6%, 77.9%, 0%, 43.1%) |
| CIE-LAB | lab(23.80, 42.83, -57.30) |
| CIE-LCH | lch(23.80, 71.53, 306.78°) |
| OKLab | oklab(36.22% 0.0455 -0.165) |
| OKLCH | oklch(36.22% 0.171 285.4) |
| XYZ | xyz(7.4893, 4.0376, 27.1673) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.57
Royal
#0C1793
ΔE00 4.68
Indigo (survey)
#380282
ΔE00 5.00
Indigo
#4B0082
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 5.79
Ultramarine
#2000B1
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2091 #759120
analogous
#203D91 #3C2091 #742091
triadic
#3C2091 #913C20 #20913C
tetradic
#3C2091 #91203D #759120 #209174
square
#3C2091 #91203D #759120 #209174
split-complementary
#3C2091 #917420 #3D9120
monochromatic
#130A2D #27155F #3C2091 #512BC3 #7452D9
Accessibility & contrast
On white
11.62
#3C2091 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3C2091 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2091
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2091 | 1.00 | 11.62 | 1.81 | 11.62 |
| #FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#104057
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c2091; /* rgb */ color: rgb(60, 32, 145); /* oklch */ color: oklch(36.2% 0.171 285.4);
Tailwind
colors: {
custom: {
50: '#7c5fb2',
500: '#3c2091',
950: '#000000',
},
}SCSS
$custom: #3c2091; $custom-light: #7c5fb2; $custom-dark: #000000;
JSON
{
"hex": "#3c2091",
"rgb": {
"r": 60,
"g": 32,
"b": 145
},
"hsl": {
"h": 254.867,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.36222,
"c": 0.17119,
"h": 285.4
},
"luminance": 0.04038
}Semantic roles & 50–950 ramp
primary
#3C2091
secondary
#A2BC51
accent
#E741BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980