#361F8B#361F8B
#361F8B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.166 H 283.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #361F8B |
|---|---|
| RGB | rgb(54, 31, 139) |
| HSL | hsl(253, 64%, 33%) |
| HSV | hsv(253, 78%, 55%) |
| CMYK | cmyk(61.2%, 77.7%, 0%, 45.5%) |
| CIE-LAB | lab(22.40, 40.72, -55.88) |
| CIE-LCH | lch(22.40, 69.14, 306.08°) |
| OKLab | oklab(34.91% 0.0386 -0.1611) |
| OKLCH | oklch(34.91% 0.166 283.5) |
| XYZ | xyz(6.6701, 3.6279, 24.7699) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.07
Indigo (survey)
#380282
ΔE00 4.64
Indigo Blue
#3A18B1
ΔE00 5.44
Midnight Blue
#191970
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.77
Indigo
#4B0082
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361F8B #748B1F
analogous
#1F3E8B #361F8B #6C1F8B
triadic
#361F8B #8B361F #1F8B36
tetradic
#361F8B #8B1F3E #748B1F #1F8B6C
square
#361F8B #8B1F3E #748B1F #1F8B6C
split-complementary
#361F8B #8B6C1F #3E8B1F
monochromatic
#0F0927 #231459 #361F8B #492ABD #6B4DD7
Accessibility & contrast
On white
12.17
#361F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#361F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361F8B
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361F8B | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #361f8b; /* rgb */ color: rgb(54, 31, 139); /* oklch */ color: oklch(34.9% 0.166 283.5);
Tailwind
colors: {
custom: {
50: '#785eae',
500: '#361f8b',
950: '#000000',
},
}SCSS
$custom: #361f8b; $custom-light: #785eae; $custom-dark: #000000;
JSON
{
"hex": "#361f8b",
"rgb": {
"r": 54,
"g": 31,
"b": 139
},
"hsl": {
"h": 252.778,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.34914,
"c": 0.16564,
"h": 283.5
},
"luminance": 0.03628
}Semantic roles & 50–950 ramp
primary
#361F8B
secondary
#A3BA4C
accent
#E741C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F