#3C166E#3C166E
#3C166E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.140 H 297.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #3C166E |
|---|---|
| RGB | rgb(60, 22, 110) |
| HSL | hsl(266, 67%, 26%) |
| HSV | hsv(266, 80%, 43%) |
| CMYK | cmyk(45.5%, 80%, 0%, 56.9%) |
| CIE-LAB | lab(18.63, 37.64, -43.59) |
| CIE-LCH | lch(18.63, 57.59, 310.81°) |
| OKLab | oklab(31.56% 0.064 -0.1248) |
| OKLCH | oklch(31.56% 0.14 297.1) |
| XYZ | xyz(4.9641, 2.6602, 15.0007) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.18
Indigo (survey)
#380282
ΔE00 4.62
Indigo
#4B0082
ΔE00 4.68
Midnight Blue
#191970
ΔE00 5.84
Dark Indigo
#1F0954
ΔE00 6.06
Dark Royal Blue
#02066F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C166E #486E16
analogous
#161C6E #3C166E #68166E
triadic
#3C166E #6E3C16 #166E3C
tetradic
#3C166E #6E161C #486E16 #166E68
square
#3C166E #6E161C #486E16 #166E68
split-complementary
#3C166E #6E6816 #1C6E16
monochromatic
#0E051A #200C3B #3C166E #5820A1 #742AD4
Accessibility & contrast
On white
13.71
#3C166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3C166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C166E
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C166E | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#2F2E41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c166e; /* rgb */ color: rgb(60, 22, 110); /* oklch */ color: oklch(31.6% 0.140 297.1);
Tailwind
colors: {
custom: {
50: '#775898',
500: '#3c166e',
950: '#000000',
},
}SCSS
$custom: #3c166e; $custom-light: #775898; $custom-dark: #000000;
JSON
{
"hex": "#3c166e",
"rgb": {
"r": 60,
"g": 22,
"b": 110
},
"hsl": {
"h": 265.909,
"s": 66.667,
"l": 25.882
},
"oklch": {
"l": 0.31555,
"c": 0.14024,
"h": 297.1
},
"luminance": 0.0266
}Semantic roles & 50–950 ramp
primary
#3C166E
secondary
#77A43C
accent
#EA3EA0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E