#36148F#36148F
#36148F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.180 H 284.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #36148F |
|---|---|
| RGB | rgb(54, 20, 143) |
| HSL | hsl(257, 75%, 32%) |
| HSV | hsv(257, 86%, 56%) |
| CMYK | cmyk(62.2%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(21.08, 46.99, -60.55) |
| CIE-LCH | lch(21.08, 76.64, 307.81°) |
| OKLab | oklab(34.13% 0.0439 -0.1745) |
| OKLCH | oklch(34.13% 0.18 284.1) |
| XYZ | xyz(6.7279, 3.2673, 26.2574) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.05
Royal
#0C1793
ΔE00 3.76
Cobalt Blue
#030AA7
ΔE00 4.54
Indigo
#4B0082
ΔE00 4.68
Royal Blue (survey)
#0504AA
ΔE00 4.80
Indigo Blue
#3A18B1
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36148F #6D8F14
analogous
#14308F #36148F #73148F
triadic
#36148F #8F3614 #148F36
tetradic
#36148F #8F1430 #6D8F14 #148F73
square
#36148F #8F1430 #6D8F14 #148F73
split-complementary
#36148F #8F7314 #308F14
monochromatic
#0D0524 #220C59 #36148F #4A1CC5 #693AE3
Accessibility & contrast
On white
12.70
#36148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#36148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36148F
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36148F | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #36148f; /* rgb */ color: rgb(54, 20, 143); /* oklch */ color: oklch(34.1% 0.180 284.1);
Tailwind
colors: {
custom: {
50: '#7a59b1',
500: '#36148f',
950: '#000000',
},
}SCSS
$custom: #36148f; $custom-light: #7a59b1; $custom-dark: #000000;
JSON
{
"hex": "#36148f",
"rgb": {
"r": 54,
"g": 20,
"b": 143
},
"hsl": {
"h": 256.585,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.34131,
"c": 0.17999,
"h": 284.1
},
"luminance": 0.03268
}Semantic roles & 50–950 ramp
primary
#36148F
secondary
#9DC33C
accent
#F236BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980