#3C146D#3C146D
#3C146D is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.141 H 297.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3C146D |
|---|---|
| RGB | rgb(60, 20, 109) |
| HSL | hsl(267, 69%, 25%) |
| HSV | hsv(267, 82%, 43%) |
| CMYK | cmyk(45%, 81.7%, 0%, 57.3%) |
| CIE-LAB | lab(18.21, 38.29, -43.63) |
| CIE-LCH | lch(18.21, 58.05, 311.28°) |
| OKLab | oklab(31.23% 0.0661 -0.1249) |
| OKLCH | oklch(31.23% 0.141 297.9) |
| XYZ | xyz(4.8732, 2.5650, 14.7034) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.88
Indigo (survey)
#380282
ΔE00 4.54
Indigo
#4B0082
ΔE00 4.56
Dark Indigo
#1F0954
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.02
Dark Royal Blue
#02066F
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C146D #456D14
analogous
#14196D #3C146D #68146D
triadic
#3C146D #6D3C14 #146D3C
tetradic
#3C146D #6D1419 #456D14 #146D68
square
#3C146D #6D1419 #456D14 #146D68
split-complementary
#3C146D #6D6814 #196D14
monochromatic
#0E051A #200B39 #3C146D #581DA1 #7527D4
Accessibility & contrast
On white
13.88
#3C146D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#3C146D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C146D
13.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C146D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C146D | 1.00 | 13.88 | 1.51 | 13.88 |
| #FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#2F2C40
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #3c146d; /* rgb */ color: rgb(60, 20, 109); /* oklch */ color: oklch(31.2% 0.141 297.9);
Tailwind
colors: {
custom: {
50: '#775798',
500: '#3c146d',
950: '#000000',
},
}SCSS
$custom: #3c146d; $custom-light: #775798; $custom-dark: #000000;
JSON
{
"hex": "#3c146d",
"rgb": {
"r": 60,
"g": 20,
"b": 109
},
"hsl": {
"h": 266.966,
"s": 68.992,
"l": 25.294
},
"oklch": {
"l": 0.31233,
"c": 0.14129,
"h": 297.9
},
"luminance": 0.02565
}Semantic roles & 50–950 ramp
primary
#3C146D
secondary
#74A439
accent
#EC3C9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E