#3C117E#3C117E
#3C117E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.163 H 292.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3C117E |
|---|---|
| RGB | rgb(60, 17, 126) |
| HSL | hsl(264, 76%, 28%) |
| HSV | hsv(264, 87%, 49%) |
| CMYK | cmyk(52.4%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(19.51, 44.13, -52.44) |
| CIE-LCH | lch(19.51, 68.54, 310.08°) |
| OKLab | oklab(32.65% 0.0623 -0.1506) |
| OKLCH | oklch(32.65% 0.163 292.5) |
| XYZ | xyz(5.8288, 2.8677, 19.9810) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.04
Indigo
#4B0082
ΔE00 3.02
Royal Purple (survey)
#4B006E
ΔE00 4.87
Midnight Blue
#191970
ΔE00 5.88
Royal
#0C1793
ΔE00 5.97
Darkblue
#00008B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C117E #537E11
analogous
#111C7E #3C117E #72117E
triadic
#3C117E #7E3C11 #117E3C
tetradic
#3C117E #7E111C #537E11 #117E72
square
#3C117E #7E111C #537E11 #117E72
split-complementary
#3C117E #7E7211 #1C7E11
monochromatic
#0D041B #220A48 #3C117E #5618B4 #7127E2
Accessibility & contrast
On white
13.35
#3C117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#3C117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C117E
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C117E | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#263249
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #3c117e; /* rgb */ color: rgb(60, 17, 126); /* oklch */ color: oklch(32.7% 0.163 292.5);
Tailwind
colors: {
custom: {
50: '#7a57a4',
500: '#3c117e',
950: '#000000',
},
}SCSS
$custom: #3c117e; $custom-light: #7a57a4; $custom-dark: #000000;
JSON
{
"hex": "#3c117e",
"rgb": {
"r": 60,
"g": 17,
"b": 126
},
"hsl": {
"h": 263.67,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.32652,
"c": 0.16301,
"h": 292.5
},
"luminance": 0.02868
}Semantic roles & 50–950 ramp
primary
#3C117E
secondary
#83B437
accent
#F335A8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F