#3C1990#3C1990
#3C1990 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.177 H 286.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1990 |
|---|---|
| RGB | rgb(60, 25, 144) |
| HSL | hsl(258, 70%, 33%) |
| HSV | hsv(258, 83%, 56%) |
| CMYK | cmyk(58.3%, 82.6%, 0%, 43.5%) |
| CIE-LAB | lab(22.55, 45.84, -58.74) |
| CIE-LCH | lch(22.55, 74.51, 307.97°) |
| OKLab | oklab(35.32% 0.0506 -0.1691) |
| OKLCH | oklch(35.32% 0.177 286.6) |
| XYZ | xyz(7.2436, 3.6691, 26.7067) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.75
Royal
#0C1793
ΔE00 4.49
Indigo Blue
#3A18B1
ΔE00 4.57
Indigo
#4B0082
ΔE00 4.65
Cobalt Blue
#030AA7
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1990 #6D9019
analogous
#193190 #3C1990 #771990
triadic
#3C1990 #903C19 #19903C
tetradic
#3C1990 #901931 #6D9019 #199077
square
#3C1990 #901931 #6D9019 #199077
split-complementary
#3C1990 #907719 #319019
monochromatic
#110728 #26105C #3C1990 #5222C4 #7245DF
Accessibility & contrast
On white
12.11
#3C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#3C1990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1990
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1990 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#123D55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #3c1990; /* rgb */ color: rgb(60, 25, 144); /* oklch */ color: oklch(35.3% 0.177 286.6);
Tailwind
colors: {
custom: {
50: '#7d5cb2',
500: '#3c1990',
950: '#000000',
},
}SCSS
$custom: #3c1990; $custom-light: #7d5cb2; $custom-dark: #000000;
JSON
{
"hex": "#3c1990",
"rgb": {
"r": 60,
"g": 25,
"b": 144
},
"hsl": {
"h": 257.647,
"s": 70.414,
"l": 33.137
},
"oklch": {
"l": 0.35322,
"c": 0.17654,
"h": 286.6
},
"luminance": 0.0367
}Semantic roles & 50–950 ramp
primary
#3C1990
secondary
#9CC045
accent
#ED3BB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980