#3C17A1#3C17A1
#3C17A1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 37.0% C 0.197 H 283.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #3C17A1 |
|---|---|
| RGB | rgb(60, 23, 161) |
| HSL | hsl(256, 75%, 36%) |
| HSV | hsv(256, 86%, 63%) |
| CMYK | cmyk(62.7%, 85.7%, 0%, 36.9%) |
| CIE-LAB | lab(24.15, 51.42, -66.54) |
| CIE-LCH | lch(24.15, 84.10, 307.70°) |
| OKLab | oklab(36.98% 0.0454 -0.1919) |
| OKLCH | oklch(36.98% 0.197 283.3) |
| XYZ | xyz(8.6009, 4.1461, 34.0583) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.18
Ultramarine
#2000B1
ΔE00 3.68
Cobalt Blue
#030AA7
ΔE00 4.18
Royal Blue (survey)
#0504AA
ΔE00 4.30
Royal
#0C1793
ΔE00 4.75
Indigo (survey)
#380282
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C17A1 #7CA117
analogous
#1737A1 #3C17A1 #8117A1
triadic
#3C17A1 #A13C17 #17A13C
tetradic
#3C17A1 #A11737 #7CA117 #17A181
square
#3C17A1 #A11737 #7CA117 #17A181
split-complementary
#3C17A1 #A18117 #37A117
monochromatic
#140836 #280F6B #3C17A1 #501FD7 #764DE6
Accessibility & contrast
On white
11.48
#3C17A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C17A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C17A1
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C17A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C17A1 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c17a1; /* rgb */ color: rgb(60, 23, 161); /* oklch */ color: oklch(37.0% 0.197 283.3);
Tailwind
colors: {
custom: {
50: '#805cbe',
500: '#3c17a1',
950: '#000000',
},
}SCSS
$custom: #3c17a1; $custom-light: #805cbe; $custom-dark: #000000;
JSON
{
"hex": "#3c17a1",
"rgb": {
"r": 60,
"g": 23,
"b": 161
},
"hsl": {
"h": 256.087,
"s": 75,
"l": 36.078
},
"oklch": {
"l": 0.36978,
"c": 0.19718,
"h": 283.3
},
"luminance": 0.04147
}Semantic roles & 50–950 ramp
primary
#3C17A1
secondary
#A6C74C
accent
#F236BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981