#361FA6#361FA6
#361FA6 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.198 H 278.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #361FA6 |
|---|---|
| RGB | rgb(54, 31, 166) |
| HSL | hsl(250, 69%, 39%) |
| HSV | hsv(250, 81%, 65%) |
| CMYK | cmyk(67.5%, 81.3%, 0%, 34.9%) |
| CIE-LAB | lab(25.31, 48.92, -67.67) |
| CIE-LCH | lch(25.31, 83.50, 305.86°) |
| OKLab | oklab(37.81% 0.0308 -0.1954) |
| OKLCH | oklch(37.81% 0.198 278.9) |
| XYZ | xyz(8.8920, 4.5167, 36.4722) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.83
Ultramarine
#2000B1
ΔE00 4.08
Cobalt Blue
#030AA7
ΔE00 4.33
Royal Blue (survey)
#0504AA
ΔE00 4.59
Royal
#0C1793
ΔE00 4.68
True Blue
#010FCC
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361FA6 #8FA61F
analogous
#1F4BA6 #361FA6 #791FA6
triadic
#361FA6 #A6361F #1FA636
tetradic
#361FA6 #A61F4B #8FA61F #1FA679
square
#361FA6 #A61F4B #8FA61F #1FA679
split-complementary
#361FA6 #A6791F #4BA61F
monochromatic
#140C3F #251572 #361FA6 #482BD7 #755EE1
Accessibility & contrast
On white
11.03
#361FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#361FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361FA6
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361FA6 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #361fa6; /* rgb */ color: rgb(54, 31, 166); /* oklch */ color: oklch(37.8% 0.198 278.9);
Tailwind
colors: {
custom: {
50: '#7e5fc2',
500: '#361fa6',
950: '#000000',
},
}SCSS
$custom: #361fa6; $custom-light: #7e5fc2; $custom-dark: #000000;
JSON
{
"hex": "#361fa6",
"rgb": {
"r": 54,
"g": 31,
"b": 166
},
"hsl": {
"h": 250.222,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37807,
"c": 0.19784,
"h": 278.9
},
"luminance": 0.04517
}Semantic roles & 50–950 ramp
primary
#361FA6
secondary
#B3C55B
accent
#EB3CCE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982