#361783#361783
#361783 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.164 H 286.5°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #361783 |
|---|---|
| RGB | rgb(54, 23, 131) |
| HSL | hsl(257, 70%, 30%) |
| HSV | hsv(257, 82%, 51%) |
| CMYK | cmyk(58.8%, 82.4%, 0%, 48.6%) |
| CIE-LAB | lab(20.19, 42.26, -54.51) |
| CIE-LCH | lch(20.19, 68.98, 307.79°) |
| OKLab | oklab(33.12% 0.0466 -0.157) |
| OKLCH | oklch(33.12% 0.164 286.5) |
| XYZ | xyz(5.9232, 3.0354, 21.7421) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.86
Indigo
#4B0082
ΔE00 4.46
Royal
#0C1793
ΔE00 4.50
Midnight Blue
#191970
ΔE00 4.97
Darkblue
#00008B
ΔE00 5.45
Navy
#000080
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#361783 #648317
analogous
#172E83 #361783 #6C1783
triadic
#361783 #833617 #178336
tetradic
#361783 #83172E #648317 #17836C
square
#361783 #83172E #648317 #17836C
split-complementary
#361783 #836C17 #2E8317
monochromatic
#0B051B #210E4F #361783 #4B20B7 #6738DC
Accessibility & contrast
On white
13.07
#361783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#361783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #361783
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##361783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##361783 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#10374D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #361783; /* rgb */ color: rgb(54, 23, 131); /* oklch */ color: oklch(33.1% 0.164 286.5);
Tailwind
colors: {
custom: {
50: '#7759a8',
500: '#361783',
950: '#000000',
},
}SCSS
$custom: #361783; $custom-light: #7759a8; $custom-dark: #000000;
JSON
{
"hex": "#361783",
"rgb": {
"r": 54,
"g": 23,
"b": 131
},
"hsl": {
"h": 257.222,
"s": 70.13,
"l": 30.196
},
"oklch": {
"l": 0.33116,
"c": 0.16374,
"h": 286.5
},
"luminance": 0.03036
}Semantic roles & 50–950 ramp
primary
#361783
secondary
#95B73F
accent
#ED3BBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F