#3D146C#3D146C
#3D146C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.140 H 299.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3D146C |
|---|---|
| RGB | rgb(61, 20, 108) |
| HSL | hsl(268, 69%, 25%) |
| HSV | hsv(268, 81%, 42%) |
| CMYK | cmyk(43.5%, 81.5%, 0%, 57.6%) |
| CIE-LAB | lab(18.25, 38.19, -42.89) |
| CIE-LCH | lch(18.25, 57.44, 311.68°) |
| OKLab | oklab(31.26% 0.068 -0.1227) |
| OKLCH | oklch(31.26% 0.14 299) |
| XYZ | xyz(4.8807, 2.5751, 14.4243) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.71
Indigo
#4B0082
ΔE00 4.62
Indigo (survey)
#380282
ΔE00 4.77
Dark Indigo
#1F0954
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.29
Dark Royal Blue
#02066F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D146C #436C14
analogous
#14176C #3D146C #69146C
triadic
#3D146C #6C3D14 #146C3D
tetradic
#3D146C #6C1417 #436C14 #146C69
square
#3D146C #6C1417 #436C14 #146C69
split-complementary
#3D146C #6C6914 #176C14
monochromatic
#0F051A #200A38 #3D146C #5A1EA0 #7727D3
Accessibility & contrast
On white
13.86
#3D146C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#3D146C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3D146C
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D146C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D146C | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#312C40
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #3d146c; /* rgb */ color: rgb(61, 20, 108); /* oklch */ color: oklch(31.3% 0.140 299.0);
Tailwind
colors: {
custom: {
50: '#785797',
500: '#3d146c',
950: '#000000',
},
}SCSS
$custom: #3d146c; $custom-light: #785797; $custom-dark: #000000;
JSON
{
"hex": "#3d146c",
"rgb": {
"r": 61,
"g": 20,
"b": 108
},
"hsl": {
"h": 267.955,
"s": 68.75,
"l": 25.098
},
"oklch": {
"l": 0.31265,
"c": 0.14029,
"h": 299
},
"luminance": 0.02575
}Semantic roles & 50–950 ramp
primary
#3D146C
secondary
#72A339
accent
#EC3C9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E