#3C1DA0#3C1DA0
#3C1DA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.192 H 282.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1DA0 |
|---|---|
| RGB | rgb(60, 29, 160) |
| HSL | hsl(254, 69%, 37%) |
| HSV | hsv(254, 82%, 63%) |
| CMYK | cmyk(62.5%, 81.9%, 0%, 37.3%) |
| CIE-LAB | lab(24.88, 48.66, -64.72) |
| CIE-LCH | lch(24.88, 80.98, 306.94°) |
| OKLab | oklab(37.45% 0.0428 -0.1867) |
| OKLCH | oklch(37.45% 0.192 282.9) |
| XYZ | xyz(8.6460, 4.3768, 33.6401) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.33
Ultramarine
#2000B1
ΔE00 4.37
Cobalt Blue
#030AA7
ΔE00 4.66
Royal
#0C1793
ΔE00 4.79
Royal Blue (survey)
#0504AA
ΔE00 4.88
Indigo (survey)
#380282
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1DA0 #81A01D
analogous
#1D40A0 #3C1DA0 #7D1DA0
triadic
#3C1DA0 #A03C1D #1DA03C
tetradic
#3C1DA0 #A01D40 #81A01D #1DA07D
square
#3C1DA0 #A01D40 #81A01D #1DA07D
split-complementary
#3C1DA0 #A07D1D #40A01D
monochromatic
#150A38 #29146C #3C1DA0 #4F26D4 #7757E1
Accessibility & contrast
On white
11.20
#3C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3C1DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1DA0
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1DA0 | 1.00 | 11.20 | 1.88 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c1da0; /* rgb */ color: rgb(60, 29, 160); /* oklch */ color: oklch(37.4% 0.192 282.9);
Tailwind
colors: {
custom: {
50: '#7f5fbd',
500: '#3c1da0',
950: '#000000',
},
}SCSS
$custom: #3c1da0; $custom-light: #7f5fbd; $custom-dark: #000000;
JSON
{
"hex": "#3c1da0",
"rgb": {
"r": 60,
"g": 29,
"b": 160
},
"hsl": {
"h": 254.198,
"s": 69.312,
"l": 37.059
},
"oklch": {
"l": 0.37448,
"c": 0.1915,
"h": 282.9
},
"luminance": 0.04377
}Semantic roles & 50–950 ramp
primary
#3C1DA0
secondary
#AAC455
accent
#EC3CC2
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981