#3C166D#3C166D
#3C166D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.139 H 297.5°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3C166D |
|---|---|
| RGB | rgb(60, 22, 109) |
| HSL | hsl(266, 66%, 26%) |
| HSV | hsv(266, 80%, 43%) |
| CMYK | cmyk(45%, 79.8%, 0%, 57.3%) |
| CIE-LAB | lab(18.53, 37.36, -43.10) |
| CIE-LCH | lch(18.53, 57.04, 310.93°) |
| OKLab | oklab(31.46% 0.0643 -0.1233) |
| OKLCH | oklch(31.46% 0.139 297.5) |
| XYZ | xyz(4.9100, 2.6385, 14.7156) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 4.16
Indigo (survey)
#380282
ΔE00 4.78
Indigo
#4B0082
ΔE00 4.80
Midnight Blue
#191970
ΔE00 5.91
Dark Indigo
#1F0954
ΔE00 5.98
Dark Royal Blue
#02066F
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C166D #476D16
analogous
#161B6D #3C166D #67166D
triadic
#3C166D #6D3C16 #166D3C
tetradic
#3C166D #6D161B #476D16 #166D67
square
#3C166D #6D161B #476D16 #166D67
split-complementary
#3C166D #6D6716 #1B6D16
monochromatic
#0E0519 #200C3A #3C166D #5820A0 #742BD3
Accessibility & contrast
On white
13.75
#3C166D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#3C166D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C166D
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C166D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C166D | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#2F2D41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c166d; /* rgb */ color: rgb(60, 22, 109); /* oklch */ color: oklch(31.5% 0.139 297.5);
Tailwind
colors: {
custom: {
50: '#775898',
500: '#3c166d',
950: '#000000',
},
}SCSS
$custom: #3c166d; $custom-light: #775898; $custom-dark: #000000;
JSON
{
"hex": "#3c166d",
"rgb": {
"r": 60,
"g": 22,
"b": 109
},
"hsl": {
"h": 266.207,
"s": 66.412,
"l": 25.686
},
"oklch": {
"l": 0.31459,
"c": 0.13908,
"h": 297.5
},
"luminance": 0.02639
}Semantic roles & 50–950 ramp
primary
#3C166D
secondary
#76A33C
accent
#E93E9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E