#6E52AE#6E52AE
#6E52AE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.2% C 0.141 H 295.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52AE |
|---|---|
| RGB | rgb(110, 82, 174) |
| HSL | hsl(258, 36%, 50%) |
| HSV | hsv(258, 53%, 68%) |
| CMYK | cmyk(36.8%, 52.9%, 0%, 31.8%) |
| CIE-LAB | lab(41.85, 32.82, -45.30) |
| CIE-LCH | lch(41.85, 55.94, 305.92°) |
| OKLab | oklab(51.23% 0.0597 -0.1282) |
| OKLCH | oklch(51.23% 0.141 295) |
| XYZ | xyz(17.0857, 12.4053, 41.5305) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.72
Iris
#6258C4
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.81
Light Indigo
#6D5ACF
ΔE00 5.92
Bluey Purple
#6241C7
ΔE00 6.61
Ocean Blue
#4F42B5
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52AE #92AE52
analogous
#5264AE #6E52AE #9C52AE
triadic
#6E52AE #AE6E52 #52AE6E
tetradic
#6E52AE #AE5264 #92AE52 #52AE9C
square
#6E52AE #AE5264 #92AE52 #52AE9C
split-complementary
#6E52AE #AE9C52 #64AE52
monochromatic
#392B5B #543E85 #6E52AE #917CC2 #B4A5D5
Accessibility & contrast
On white
6.03
#6E52AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#6E52AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52AE
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52AE | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#3361AC
Tritanopia (blue-blind)
#5F6578
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6e52ae; /* rgb */ color: rgb(110, 82, 174); /* oklch */ color: oklch(51.2% 0.141 295.0);
Tailwind
colors: {
custom: {
50: '#9b83c7',
500: '#6e52ae',
950: '#000000',
},
}SCSS
$custom: #6e52ae; $custom-light: #9b83c7; $custom-dark: #000000;
JSON
{
"hex": "#6e52ae",
"rgb": {
"r": 110,
"g": 82,
"b": 174
},
"hsl": {
"h": 258.261,
"s": 36.22,
"l": 50.196
},
"oklch": {
"l": 0.51229,
"c": 0.14143,
"h": 295
},
"luminance": 0.12406
}Semantic roles & 50–950 ramp
primary
#6E52AE
secondary
#B6C299
accent
#CC5CAA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82