#5409E2#5409E2
#5409E2 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.8% C 0.266 H 283.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5409E2 |
|---|---|
| RGB | rgb(84, 9, 226) |
| HSL | hsl(261, 92%, 46%) |
| HSV | hsv(261, 96%, 89%) |
| CMYK | cmyk(62.8%, 96%, 0%, 11.4%) |
| CIE-LAB | lab(33.07, 72.81, -90.02) |
| CIE-LCH | lch(33.07, 115.78, 308.97°) |
| OKLab | oklab(45.76% 0.0608 -0.2594) |
| OKLCH | oklch(45.76% 0.266 283.2) |
| XYZ | xyz(17.4771, 7.5699, 72.4769) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue Violet
#5D06E9
ΔE00 1.44
Blue Purple
#5A06EF
ΔE00 1.84
Purple Blue
#5D21D0
ΔE00 2.67
Violet Blue
#510AC9
ΔE00 3.20
Purply Blue
#661AEE
ΔE00 3.56
Strong Blue
#0C06F7
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5409E2 #97E209
analogous
#092BE2 #5409E2 #C009E2
triadic
#5409E2 #E25409 #09E254
tetradic
#5409E2 #E2092B #97E209 #09E2C0
square
#5409E2 #E2092B #97E209 #09E2C0
split-complementary
#5409E2 #E2C009 #2BE209
monochromatic
#28046C #3E07A7 #5409E2 #7631F7 #9D6CF9
Accessibility & contrast
On white
8.35
#5409E2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#5409E2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5409E2
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5409E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5409E2 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#005C85
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #5409e2; /* rgb */ color: rgb(84, 9, 226); /* oklch */ color: oklch(45.8% 0.266 283.2);
Tailwind
colors: {
custom: {
50: '#9761ed',
500: '#5409e2',
950: '#000000',
},
}SCSS
$custom: #5409e2; $custom-light: #9761ed; $custom-dark: #000000;
JSON
{
"hex": "#5409e2",
"rgb": {
"r": 84,
"g": 9,
"b": 226
},
"hsl": {
"h": 260.737,
"s": 92.34,
"l": 46.078
},
"oklch": {
"l": 0.45758,
"c": 0.26641,
"h": 283.2
},
"luminance": 0.07571
}Semantic roles & 50–950 ramp
primary
#5409E2
secondary
#B6DF68
accent
#FF29B5
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#100617
muted
#7F7A85