#3C1EA1#3C1EA1
#3C1EA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.192 H 282.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1EA1 |
|---|---|
| RGB | rgb(60, 30, 161) |
| HSL | hsl(254, 69%, 37%) |
| HSV | hsv(254, 81%, 63%) |
| CMYK | cmyk(62.7%, 81.4%, 0%, 36.9%) |
| CIE-LAB | lab(25.14, 48.50, -64.90) |
| CIE-LCH | lch(25.14, 81.02, 306.77°) |
| OKLab | oklab(37.66% 0.0419 -0.1872) |
| OKLCH | oklch(37.66% 0.192 282.6) |
| XYZ | xyz(8.7588, 4.4618, 34.1110) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.24
Ultramarine
#2000B1
ΔE00 4.44
Cobalt Blue
#030AA7
ΔE00 4.75
Royal
#0C1793
ΔE00 4.88
Royal Blue (survey)
#0504AA
ΔE00 4.97
True Blue
#010FCC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1EA1 #83A11E
analogous
#1E42A1 #3C1EA1 #7D1EA1
triadic
#3C1EA1 #A13C1E #1EA13C
tetradic
#3C1EA1 #A11E42 #83A11E #1EA17D
square
#3C1EA1 #A11E42 #83A11E #1EA17D
split-complementary
#3C1EA1 #A17D1E #42A11E
monochromatic
#160B3A #29146D #3C1EA1 #4F28D5 #7859E0
Accessibility & contrast
On white
11.10
#3C1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#3C1EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1EA1
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1EA1 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c1ea1; /* rgb */ color: rgb(60, 30, 161); /* oklch */ color: oklch(37.7% 0.192 282.6);
Tailwind
colors: {
custom: {
50: '#805fbe',
500: '#3c1ea1',
950: '#000000',
},
}SCSS
$custom: #3c1ea1; $custom-light: #805fbe; $custom-dark: #000000;
JSON
{
"hex": "#3c1ea1",
"rgb": {
"r": 60,
"g": 30,
"b": 161
},
"hsl": {
"h": 253.74,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.37662,
"c": 0.19181,
"h": 282.6
},
"luminance": 0.04462
}Semantic roles & 50–950 ramp
primary
#3C1EA1
secondary
#ABC457
accent
#EB3CC3
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981