#361A7C#361A7C
#361A7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.152 H 287.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #361A7C |
|---|---|
| RGB | rgb(54, 26, 124) |
| HSL | hsl(257, 65%, 29%) |
| HSV | hsv(257, 79%, 49%) |
| CMYK | cmyk(56.5%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(19.96, 38.74, -50.45) |
| CIE-LCH | lch(19.96, 63.61, 307.52°) |
| OKLab | oklab(32.74% 0.0467 -0.1451) |
| OKLCH | oklch(32.74% 0.152 287.8) |
| XYZ | xyz(5.5277, 2.9780, 19.3484) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.67
Midnight Blue
#191970
ΔE00 4.38
Indigo
#4B0082
ΔE00 4.93
Royal
#0C1793
ΔE00 5.32
Dark Royal Blue
#02066F
ΔE00 6.28
Navy
#000080
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361A7C #607C1A
analogous
#1A2F7C #361A7C #671A7C
triadic
#361A7C #7C361A #1A7C36
tetradic
#361A7C #7C1A2F #607C1A #1A7C67
square
#361A7C #7C1A2F #607C1A #1A7C67
split-complementary
#361A7C #7C671A #2F7C1A
monochromatic
#0B0519 #200F49 #361A7C #4C25AF #673BD6
Accessibility & contrast
On white
13.16
#361A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#361A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361A7C
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361A7C | 1.00 | 13.16 | 1.60 | 13.16 |
| #FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#19364A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #361a7c; /* rgb */ color: rgb(54, 26, 124); /* oklch */ color: oklch(32.7% 0.152 287.8);
Tailwind
colors: {
custom: {
50: '#765aa3',
500: '#361a7c',
950: '#000000',
},
}SCSS
$custom: #361a7c; $custom-light: #765aa3; $custom-dark: #000000;
JSON
{
"hex": "#361a7c",
"rgb": {
"r": 54,
"g": 26,
"b": 124
},
"hsl": {
"h": 257.143,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.32736,
"c": 0.15246,
"h": 287.8
},
"luminance": 0.02978
}Semantic roles & 50–950 ramp
primary
#361A7C
secondary
#91B042
accent
#E840B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F