#3C146B#3C146B
#3C146B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.139 H 298.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3C146B |
|---|---|
| RGB | rgb(60, 20, 107) |
| HSL | hsl(268, 69%, 25%) |
| HSV | hsv(268, 81%, 42%) |
| CMYK | cmyk(43.9%, 81.3%, 0%, 58%) |
| CIE-LAB | lab(18.02, 37.75, -42.63) |
| CIE-LCH | lch(18.02, 56.95, 311.53°) |
| OKLab | oklab(31.04% 0.0667 -0.122) |
| OKLCH | oklch(31.04% 0.139 298.7) |
| XYZ | xyz(4.7668, 2.5224, 14.1428) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.86
Indigo
#4B0082
ΔE00 4.82
Indigo (survey)
#380282
ΔE00 4.88
Dark Indigo
#1F0954
ΔE00 5.76
Midnight Blue
#191970
ΔE00 6.18
Dark Royal Blue
#02066F
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C146B #436B14
analogous
#14186B #3C146B #67146B
triadic
#3C146B #6B3C14 #146B3C
tetradic
#3C146B #6B1418 #436B14 #146B67
square
#3C146B #6B1418 #436B14 #146B67
split-complementary
#3C146B #6B6714 #186B14
monochromatic
#0E051A #1F0A37 #3C146B #591E9F #7627D2
Accessibility & contrast
On white
13.96
#3C146B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#3C146B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C146B
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C146B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C146B | 1.00 | 13.96 | 1.50 | 13.96 |
| #FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#302C3F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #3c146b; /* rgb */ color: rgb(60, 20, 107); /* oklch */ color: oklch(31.0% 0.139 298.7);
Tailwind
colors: {
custom: {
50: '#775796',
500: '#3c146b',
950: '#000000',
},
}SCSS
$custom: #3c146b; $custom-light: #775796; $custom-dark: #000000;
JSON
{
"hex": "#3c146b",
"rgb": {
"r": 60,
"g": 20,
"b": 107
},
"hsl": {
"h": 267.586,
"s": 68.504,
"l": 24.902
},
"oklch": {
"l": 0.31041,
"c": 0.139,
"h": 298.7
},
"luminance": 0.02523
}Semantic roles & 50–950 ramp
primary
#3C146B
secondary
#72A239
accent
#EB3C9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E