#361F9E#361F9E
#361F9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.188 H 280.1°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #361F9E |
|---|---|
| RGB | rgb(54, 31, 158) |
| HSL | hsl(251, 67%, 37%) |
| HSV | hsv(251, 80%, 62%) |
| CMYK | cmyk(65.8%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(24.42, 46.52, -64.27) |
| CIE-LCH | lch(24.42, 79.34, 305.89°) |
| OKLab | oklab(36.93% 0.0332 -0.1855) |
| OKLCH | oklch(36.93% 0.188 280.1) |
| XYZ | xyz(8.1809, 4.2322, 32.7269) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.77
Royal
#0C1793
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.40
Ultramarine
#2000B1
ΔE00 4.48
Royal Blue (survey)
#0504AA
ΔE00 4.73
Indigo (survey)
#380282
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F9E #879E1F
analogous
#1F489E #361F9E #761F9E
triadic
#361F9E #9E361F #1F9E36
tetradic
#361F9E #9E1F48 #879E1F #1F9E76
square
#361F9E #9E1F48 #879E1F #1F9E76
split-complementary
#361F9E #9E761F #489E1F
monochromatic
#130B38 #25156B #361F9E #4729D1 #7159DE
Accessibility & contrast
On white
11.37
#361F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#361F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F9E
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F9E | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #361f9e; /* rgb */ color: rgb(54, 31, 158); /* oklch */ color: oklch(36.9% 0.188 280.1);
Tailwind
colors: {
custom: {
50: '#7c5fbc',
500: '#361f9e',
950: '#000000',
},
}SCSS
$custom: #361f9e; $custom-light: #7c5fbc; $custom-dark: #000000;
JSON
{
"hex": "#361f9e",
"rgb": {
"r": 54,
"g": 31,
"b": 158
},
"hsl": {
"h": 250.866,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.36931,
"c": 0.18849,
"h": 280.1
},
"luminance": 0.04233
}Semantic roles & 50–950 ramp
primary
#361F9E
secondary
#AFC256
accent
#EA3ECB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981