#361A8C#361A8C
#361A8C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.172 H 284.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #361A8C |
|---|---|
| RGB | rgb(54, 26, 140) |
| HSL | hsl(255, 69%, 33%) |
| HSV | hsv(255, 81%, 55%) |
| CMYK | cmyk(61.4%, 81.4%, 0%, 45.1%) |
| CIE-LAB | lab(21.64, 43.51, -57.76) |
| CIE-LCH | lch(21.64, 72.32, 306.99°) |
| OKLab | oklab(34.41% 0.0417 -0.1665) |
| OKLCH | oklch(34.41% 0.172 284) |
| XYZ | xyz(6.6229, 3.4161, 25.1162) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.71
Royal
#0C1793
ΔE00 3.82
Indigo
#4B0082
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 5.17
Cobalt Blue
#030AA7
ΔE00 5.18
Royal Blue (survey)
#0504AA
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361A8C #708C1A
analogous
#1A378C #361A8C #6F1A8C
triadic
#361A8C #8C361A #1A8C36
tetradic
#361A8C #8C1A37 #708C1A #1A8C6F
square
#361A8C #8C1A37 #708C1A #1A8C6F
split-complementary
#361A8C #8C6F1A #378C1A
monochromatic
#0E0725 #221058 #361A8C #4A24C0 #6944DC
Accessibility & contrast
On white
12.47
#361A8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#361A8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361A8C
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361A8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361A8C | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #361a8c; /* rgb */ color: rgb(54, 26, 140); /* oklch */ color: oklch(34.4% 0.172 284.0);
Tailwind
colors: {
custom: {
50: '#795baf',
500: '#361a8c',
950: '#000000',
},
}SCSS
$custom: #361a8c; $custom-light: #795baf; $custom-dark: #000000;
JSON
{
"hex": "#361a8c",
"rgb": {
"r": 54,
"g": 26,
"b": 140
},
"hsl": {
"h": 254.737,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.34414,
"c": 0.17164,
"h": 284
},
"luminance": 0.03417
}Semantic roles & 50–950 ramp
primary
#361A8C
secondary
#A0BE44
accent
#EC3CC0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F