#36146F#36146F
#36146F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.143 H 292.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).
Color values
| HEX | #36146F |
|---|---|
| RGB | rgb(54, 20, 111) |
| HSL | hsl(262, 69%, 26%) |
| HSV | hsv(262, 82%, 44%) |
| CMYK | cmyk(51.4%, 82%, 0%, 56.5%) |
| CIE-LAB | lab(17.61, 37.87, -45.94) |
| CIE-LCH | lch(17.61, 59.54, 309.50°) |
| OKLab | oklab(30.7% 0.0555 -0.1319) |
| OKLCH | oklch(30.7% 0.143 292.8) |
| XYZ | xyz(4.6399, 2.4321, 15.2608) |
| Luminance | 0.0243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.01
Midnight Blue
#191970
ΔE00 4.79
Royal Purple (survey)
#4B006E
ΔE00 4.89
Indigo
#4B0082
ΔE00 4.90
Dark Indigo
#1F0954
ΔE00 5.46
Dark Royal Blue
#02066F
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36146F #4D6F14
analogous
#141F6F #36146F #63146F
triadic
#36146F #6F3614 #146F36
tetradic
#36146F #6F141F #4D6F14 #146F63
square
#36146F #6F141F #4D6F14 #146F63
split-complementary
#36146F #6F6314 #1F6F14
monochromatic
#0D051A #1D0B3B #36146F #4F1DA3 #6827D7
Accessibility & contrast
On white
14.13
#36146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#36146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36146F
14.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36146F | 1.00 | 14.13 | 1.49 | 14.13 |
| #FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#242E41
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #36146f; /* rgb */ color: rgb(54, 20, 111); /* oklch */ color: oklch(30.7% 0.143 292.8);
Tailwind
colors: {
custom: {
50: '#745699',
500: '#36146f',
950: '#000000',
},
}SCSS
$custom: #36146f; $custom-light: #745699; $custom-dark: #000000;
JSON
{
"hex": "#36146f",
"rgb": {
"r": 54,
"g": 20,
"b": 111
},
"hsl": {
"h": 262.418,
"s": 69.466,
"l": 25.686
},
"oklch": {
"l": 0.30695,
"c": 0.14311,
"h": 292.8
},
"luminance": 0.02432
}Semantic roles & 50–950 ramp
primary
#36146F
secondary
#7DA639
accent
#EC3CAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E