#361D8F#361D8F
#361D8F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.172 H 283.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).
Color values
| HEX | #361D8F |
|---|---|
| RGB | rgb(54, 29, 143) |
| HSL | hsl(253, 66%, 34%) |
| HSV | hsv(253, 80%, 56%) |
| CMYK | cmyk(62.2%, 79.7%, 0%, 43.9%) |
| CIE-LAB | lab(22.46, 42.96, -58.27) |
| CIE-LCH | lch(22.46, 72.40, 306.40°) |
| OKLab | oklab(35.08% 0.0388 -0.168) |
| OKLCH | oklch(35.08% 0.172 283) |
| XYZ | xyz(6.9171, 3.6457, 26.3205) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 4.43
Indigo Blue
#3A18B1
ΔE00 4.77
Cobalt Blue
#030AA7
ΔE00 5.14
Royal Blue (survey)
#0504AA
ΔE00 5.52
Ultramarine
#2000B1
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361D8F #768F1D
analogous
#1D3D8F #361D8F #6F1D8F
triadic
#361D8F #8F361D #1D8F36
tetradic
#361D8F #8F1D3D #768F1D #1D8F6F
square
#361D8F #8F1D3D #768F1D #1D8F6F
split-complementary
#361D8F #8F6F1D #3D8F1D
monochromatic
#100829 #23135C #361D8F #4927C2 #6B4CDB
Accessibility & contrast
On white
12.14
#361D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#361D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361D8F
12.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361D8F | 1.00 | 12.14 | 1.73 | 12.14 |
| #FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #361d8f; /* rgb */ color: rgb(54, 29, 143); /* oklch */ color: oklch(35.1% 0.172 283.0);
Tailwind
colors: {
custom: {
50: '#795db1',
500: '#361d8f',
950: '#000000',
},
}SCSS
$custom: #361d8f; $custom-light: #795db1; $custom-dark: #000000;
JSON
{
"hex": "#361d8f",
"rgb": {
"r": 54,
"g": 29,
"b": 143
},
"hsl": {
"h": 253.158,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.35084,
"c": 0.17246,
"h": 283
},
"luminance": 0.03646
}Semantic roles & 50–950 ramp
primary
#361D8F
secondary
#A4BD4B
accent
#E93FC4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980