#3C146F#3C146F
#3C146F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.144 H 297.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3C146F |
|---|---|
| RGB | rgb(60, 20, 111) |
| HSL | hsl(266, 69%, 26%) |
| HSV | hsv(266, 82%, 44%) |
| CMYK | cmyk(45.9%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(18.40, 38.84, -44.61) |
| CIE-LCH | lch(18.40, 59.15, 311.04°) |
| OKLab | oklab(31.43% 0.0654 -0.1278) |
| OKLCH | oklch(31.43% 0.144 297.1) |
| XYZ | xyz(4.9821, 2.6086, 15.2769) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.93
Indigo (survey)
#380282
ΔE00 4.22
Indigo
#4B0082
ΔE00 4.32
Midnight Blue
#191970
ΔE00 5.89
Dark Indigo
#1F0954
ΔE00 6.08
Dark Royal Blue
#02066F
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C146F #476F14
analogous
#14196F #3C146F #69146F
triadic
#3C146F #6F3C14 #146F3C
tetradic
#3C146F #6F1419 #476F14 #146F69
square
#3C146F #6F1419 #476F14 #146F69
split-complementary
#3C146F #6F6914 #196F14
monochromatic
#0E051A #200B3B #3C146F #581DA3 #7427D7
Accessibility & contrast
On white
13.80
#3C146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3C146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C146F
13.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C146F | 1.00 | 13.80 | 1.52 | 13.80 |
| #FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#2E2D41
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3c146f; /* rgb */ color: rgb(60, 20, 111); /* oklch */ color: oklch(31.4% 0.144 297.1);
Tailwind
colors: {
custom: {
50: '#785799',
500: '#3c146f',
950: '#000000',
},
}SCSS
$custom: #3c146f; $custom-light: #785799; $custom-dark: #000000;
JSON
{
"hex": "#3c146f",
"rgb": {
"r": 60,
"g": 20,
"b": 111
},
"hsl": {
"h": 266.374,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.31426,
"c": 0.14356,
"h": 297.1
},
"luminance": 0.02609
}Semantic roles & 50–950 ramp
primary
#3C146F
secondary
#76A639
accent
#EC3C9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E