#3C1790#3C1790
#3C1790 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.178 H 286.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1790 |
|---|---|
| RGB | rgb(60, 23, 144) |
| HSL | hsl(258, 72%, 33%) |
| HSV | hsv(258, 84%, 56%) |
| CMYK | cmyk(58.3%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(22.26, 46.69, -59.22) |
| CIE-LCH | lch(22.26, 75.41, 308.26°) |
| OKLab | oklab(35.12% 0.0518 -0.1705) |
| OKLCH | oklch(35.12% 0.178 286.9) |
| XYZ | xyz(7.2024, 3.5867, 26.6929) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.47
Indigo
#4B0082
ΔE00 4.43
Royal
#0C1793
ΔE00 4.50
Indigo Blue
#3A18B1
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 5.17
Ultramarine
#2000B1
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1790 #6B9017
analogous
#172F90 #3C1790 #781790
triadic
#3C1790 #903C17 #17903C
tetradic
#3C1790 #90172F #6B9017 #179078
square
#3C1790 #90172F #6B9017 #179078
split-complementary
#3C1790 #907817 #2F9017
monochromatic
#100626 #260F5B #3C1790 #521FC5 #7241E1
Accessibility & contrast
On white
12.23
#3C1790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#3C1790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1790
12.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1790 | 1.00 | 12.23 | 1.72 | 12.23 |
| #FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#123C55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3c1790; /* rgb */ color: rgb(60, 23, 144); /* oklch */ color: oklch(35.1% 0.178 286.9);
Tailwind
colors: {
custom: {
50: '#7d5bb2',
500: '#3c1790',
950: '#000000',
},
}SCSS
$custom: #3c1790; $custom-light: #7d5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3c1790",
"rgb": {
"r": 60,
"g": 23,
"b": 144
},
"hsl": {
"h": 258.347,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.35121,
"c": 0.17821,
"h": 286.9
},
"luminance": 0.03587
}Semantic roles & 50–950 ramp
primary
#3C1790
secondary
#9AC142
accent
#EF39B7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980