#5912E2#5912E2
#5912E2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 46.6% C 0.263 H 284.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5912E2 |
|---|---|
| RGB | rgb(89, 18, 226) |
| HSL | hsl(260, 85%, 48%) |
| HSV | hsv(260, 92%, 89%) |
| CMYK | cmyk(60.6%, 92%, 0%, 11.4%) |
| CIE-LAB | lab(34.08, 71.59, -88.33) |
| CIE-LCH | lch(34.08, 113.70, 309.02°) |
| OKLab | oklab(46.55% 0.067 -0.2545) |
| OKLCH | oklch(46.55% 0.263 284.8) |
| XYZ | xyz(18.0594, 8.0462, 72.5382) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Violet
#5D06E9
ΔE00 0.96
Blue Purple
#5A06EF
ΔE00 1.45
Purple Blue
#5D21D0
ΔE00 2.24
Purply Blue
#661AEE
ΔE00 2.76
Violet Blue
#510AC9
ΔE00 3.71
Purplish Blue
#601EF9
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5912E2 #9BE212
analogous
#1233E2 #5912E2 #C112E2
triadic
#5912E2 #E25912 #12E259
tetradic
#5912E2 #E21233 #9BE212 #12E2C1
square
#5912E2 #E21233 #9BE212 #12E2C1
split-complementary
#5912E2 #E2C112 #33E212
monochromatic
#2C0971 #430DA9 #5912E2 #7D41F0 #A47AF4
Accessibility & contrast
On white
8.05
#5912E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#5912E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5912E2
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5912E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5912E2 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055E7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#005D85
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5912e2; /* rgb */ color: rgb(89, 18, 226); /* oklch */ color: oklch(46.6% 0.263 284.8);
Tailwind
colors: {
custom: {
50: '#9a63ed',
500: '#5912e2',
950: '#000000',
},
}SCSS
$custom: #5912e2; $custom-light: #9a63ed; $custom-dark: #000000;
JSON
{
"hex": "#5912e2",
"rgb": {
"r": 89,
"g": 18,
"b": 226
},
"hsl": {
"h": 260.481,
"s": 85.246,
"l": 47.843
},
"oklch": {
"l": 0.46552,
"c": 0.26316,
"h": 284.8
},
"luminance": 0.08047
}Semantic roles & 50–950 ramp
primary
#5912E2
secondary
#B8DC74
accent
#FB2CB5
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#100617
muted
#7F7A85