#5319A0#5319A0
#5319A0 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.194 H 295.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5319A0 |
|---|---|
| RGB | rgb(83, 25, 160) |
| HSL | hsl(266, 73%, 36%) |
| HSV | hsv(266, 84%, 63%) |
| CMYK | cmyk(48.1%, 84.4%, 0%, 37.3%) |
| CIE-LAB | lab(26.94, 52.98, -61.24) |
| CIE-LCH | lch(26.94, 80.97, 310.86°) |
| OKLab | oklab(39.47% 0.0818 -0.1757) |
| OKLCH | oklch(39.47% 0.194 295) |
| XYZ | xyz(10.2583, 5.0720, 33.6894) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Violet Blue
#510AC9
ΔE00 5.37
Indigo
#4B0082
ΔE00 5.49
Rebeccapurple
#663399
ΔE00 6.29
Ultramarine
#2000B1
ΔE00 6.45
Indigo (survey)
#380282
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5319A0 #66A019
analogous
#1922A0 #5319A0 #9719A0
triadic
#5319A0 #A05319 #19A053
tetradic
#5319A0 #A01922 #66A019 #19A097
square
#5319A0 #A01922 #66A019 #19A097
split-complementary
#5319A0 #A09719 #22A019
monochromatic
#1C0836 #38116B #5319A0 #6E21D5 #8F50E4
Accessibility & contrast
On white
10.42
#5319A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#5319A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5319A0
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5319A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5319A0 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#3C425F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #5319a0; /* rgb */ color: rgb(83, 25, 160); /* oklch */ color: oklch(39.5% 0.194 295.0);
Tailwind
colors: {
custom: {
50: '#8c5fbd',
500: '#5319a0',
950: '#000000',
},
}SCSS
$custom: #5319a0; $custom-light: #8c5fbd; $custom-dark: #000000;
JSON
{
"hex": "#5319a0",
"rgb": {
"r": 83,
"g": 25,
"b": 160
},
"hsl": {
"h": 265.778,
"s": 72.973,
"l": 36.275
},
"oklch": {
"l": 0.39469,
"c": 0.19385,
"h": 295
},
"luminance": 0.05072
}Semantic roles & 50–950 ramp
primary
#5319A0
secondary
#93C64F
accent
#F038A1
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981