#361B8E#361B8E
#361B8E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.173 H 283.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #361B8E |
|---|---|
| RGB | rgb(54, 27, 142) |
| HSL | hsl(254, 68%, 33%) |
| HSV | hsv(254, 81%, 56%) |
| CMYK | cmyk(62%, 81%, 0%, 44.3%) |
| CIE-LAB | lab(22.02, 43.63, -58.38) |
| CIE-LCH | lch(22.02, 72.89, 306.77°) |
| OKLab | oklab(34.74% 0.0404 -0.1683) |
| OKLCH | oklch(34.74% 0.173 283.5) |
| XYZ | xyz(6.7942, 3.5207, 25.9075) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 4.01
Indigo Blue
#3A18B1
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 5.05
Indigo
#4B0082
ΔE00 5.36
Royal Blue (survey)
#0504AA
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361B8E #738E1B
analogous
#1B398E #361B8E #6F1B8E
triadic
#361B8E #8E361B #1B8E36
tetradic
#361B8E #8E1B39 #738E1B #1B8E6F
square
#361B8E #8E1B39 #738E1B #1B8E6F
split-complementary
#361B8E #8E6F1B #398E1B
monochromatic
#0F0727 #22115B #361B8E #4A25C1 #6A47DC
Accessibility & contrast
On white
12.32
#361B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#361B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361B8E
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361B8E | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #361b8e; /* rgb */ color: rgb(54, 27, 142); /* oklch */ color: oklch(34.7% 0.173 283.5);
Tailwind
colors: {
custom: {
50: '#795cb0',
500: '#361b8e',
950: '#000000',
},
}SCSS
$custom: #361b8e; $custom-light: #795cb0; $custom-dark: #000000;
JSON
{
"hex": "#361b8e",
"rgb": {
"r": 54,
"g": 27,
"b": 142
},
"hsl": {
"h": 254.087,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.34743,
"c": 0.17311,
"h": 283.5
},
"luminance": 0.03521
}Semantic roles & 50–950 ramp
primary
#361B8E
secondary
#A2BE47
accent
#EB3DC2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980