#5D26C7#5D26C7
#5D26C7 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.5% C 0.224 H 289.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5D26C7 |
|---|---|
| RGB | rgb(93, 38, 199) |
| HSL | hsl(260, 68%, 46%) |
| HSV | hsv(260, 81%, 78%) |
| CMYK | cmyk(53.3%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(33.64, 59.28, -73.42) |
| CIE-LCH | lch(33.64, 94.37, 308.92°) |
| OKLab | oklab(45.51% 0.0756 -0.2112) |
| OKLCH | oklch(45.51% 0.224 289.7) |
| XYZ | xyz(15.5131, 7.8362, 54.7169) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 1.18
Violet Blue
#510AC9
ΔE00 3.52
Blurple
#5539CC
ΔE00 3.87
Blue Violet
#5D06E9
ΔE00 4.19
Blue With A Hint Of Purple
#533CC6
ΔE00 4.52
Blue Purple
#5A06EF
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D26C7 #90C726
analogous
#2640C7 #5D26C7 #AE26C7
triadic
#5D26C7 #C75D26 #26C75D
tetradic
#5D26C7 #C72640 #90C726 #26C7AE
square
#5D26C7 #C72640 #90C726 #26C7AE
split-complementary
#5D26C7 #C7AE26 #40C726
monochromatic
#2D1260 #451C94 #5D26C7 #7E4DDD #A381E7
Accessibility & contrast
On white
8.18
#5D26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#5D26C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D26C7
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D26C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D26C7 | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#345678
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #5d26c7; /* rgb */ color: rgb(93, 38, 199); /* oklch */ color: oklch(45.5% 0.224 289.7);
Tailwind
colors: {
custom: {
50: '#9668d9',
500: '#5d26c7',
950: '#000000',
},
}SCSS
$custom: #5d26c7; $custom-light: #9668d9; $custom-dark: #000000;
JSON
{
"hex": "#5d26c7",
"rgb": {
"r": 93,
"g": 38,
"b": 199
},
"hsl": {
"h": 260.497,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.45511,
"c": 0.22431,
"h": 289.7
},
"luminance": 0.07837
}Semantic roles & 50–950 ramp
primary
#5D26C7
secondary
#B2CF79
accent
#EB3DAF
background
#FAF6FD
surface
#F3EBFB
border
#CDC6D4
text
#0F0715
muted
#7F7A83