#5326AF#5326AF
#5326AF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.199 H 290.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5326AF |
|---|---|
| RGB | rgb(83, 38, 175) |
| HSL | hsl(260, 64%, 42%) |
| HSV | hsv(260, 78%, 69%) |
| CMYK | cmyk(52.6%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(30.21, 51.64, -64.92) |
| CIE-LCH | lch(30.21, 82.96, 308.50°) |
| OKLab | oklab(42.17% 0.068 -0.1866) |
| OKLCH | oklch(42.17% 0.199 290) |
| XYZ | xyz(11.9960, 6.3198, 41.1369) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.98
Violet Blue
#510AC9
ΔE00 4.13
Purple Blue
#5D21D0
ΔE00 4.50
Blurple
#5539CC
ΔE00 5.86
Blue With A Hint Of Purple
#533CC6
ΔE00 5.90
Rebeccapurple
#663399
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5326AF #82AF26
analogous
#263EAF #5326AF #9826AF
triadic
#5326AF #AF5326 #26AF53
tetradic
#5326AF #AF263E #82AF26 #26AF98
square
#5326AF #AF263E #82AF26 #26AF98
split-complementary
#5326AF #AF9826 #3EAF26
monochromatic
#23104A #3B1B7D #5326AF #6F3DD5 #9470E0
Accessibility & contrast
On white
9.28
#5326AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#5326AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5326AF
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5326AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5326AF | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#314D6A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #5326af; /* rgb */ color: rgb(83, 38, 175); /* oklch */ color: oklch(42.2% 0.199 290.0);
Tailwind
colors: {
custom: {
50: '#8d66c8',
500: '#5326af',
950: '#000000',
},
}SCSS
$custom: #5326af; $custom-light: #8d66c8; $custom-dark: #000000;
JSON
{
"hex": "#5326af",
"rgb": {
"r": 83,
"g": 38,
"b": 175
},
"hsl": {
"h": 259.708,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.42172,
"c": 0.19862,
"h": 290
},
"luminance": 0.0632
}Semantic roles & 50–950 ramp
primary
#5326AF
secondary
#A8C76A
accent
#E740B1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82