#3C17B4#3C17B4
#3C17B4 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.218 H 280.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3C17B4 |
|---|---|
| RGB | rgb(60, 23, 180) |
| HSL | hsl(254, 77%, 40%) |
| HSV | hsv(254, 87%, 71%) |
| CMYK | cmyk(66.7%, 87.2%, 0%, 29.4%) |
| CIE-LAB | lab(26.36, 56.63, -74.35) |
| CIE-LCH | lch(26.36, 93.45, 307.30°) |
| OKLab | oklab(39.12% 0.0383 -0.2145) |
| OKLCH | oklch(39.12% 0.218 280.1) |
| XYZ | xyz(10.4055, 4.8679, 43.5624) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.47
Ultramarine
#2000B1
ΔE00 3.51
Violet Blue
#510AC9
ΔE00 3.69
True Blue
#010FCC
ΔE00 3.69
Mediumblue
#0000CD
ΔE00 3.98
Ultramarine Blue
#1805DB
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C17B4 #8FB417
analogous
#1741B4 #3C17B4 #8A17B4
triadic
#3C17B4 #B43C17 #17B43C
tetradic
#3C17B4 #B41741 #8FB417 #17B48A
square
#3C17B4 #B41741 #8FB417 #17B48A
split-complementary
#3C17B4 #B48A17 #41B417
monochromatic
#180947 #2A107E #3C17B4 #5225E3 #7D5BEA
Accessibility & contrast
On white
10.64
#3C17B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3C17B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C17B4
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C17B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C17B4 | 1.00 | 10.64 | 1.97 | 10.64 |
| #FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3c17b4; /* rgb */ color: rgb(60, 23, 180); /* oklch */ color: oklch(39.1% 0.218 280.1);
Tailwind
colors: {
custom: {
50: '#845dcc',
500: '#3c17b4',
950: '#000000',
},
}SCSS
$custom: #3c17b4; $custom-light: #845dcc; $custom-dark: #000000;
JSON
{
"hex": "#3c17b4",
"rgb": {
"r": 60,
"g": 23,
"b": 180
},
"hsl": {
"h": 254.14,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.39123,
"c": 0.21795,
"h": 280.1
},
"luminance": 0.04869
}Semantic roles & 50–950 ramp
primary
#3C17B4
secondary
#B2CE59
accent
#F434C7
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982