#6E52AF#6E52AF
#6E52AF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.143 H 294.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52AF |
|---|---|
| RGB | rgb(110, 82, 175) |
| HSL | hsl(258, 37%, 50%) |
| HSV | hsv(258, 53%, 69%) |
| CMYK | cmyk(37.1%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(41.91, 33.09, -45.79) |
| CIE-LCH | lch(41.91, 56.50, 305.86°) |
| OKLab | oklab(51.29% 0.0597 -0.1297) |
| OKLCH | oklch(51.29% 0.143 294.7) |
| XYZ | xyz(17.1836, 12.4444, 42.0458) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.83
Iris
#6258C4
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.65
Light Indigo
#6D5ACF
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 6.48
Ocean Blue
#4F42B5
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52AF #93AF52
analogous
#5264AF #6E52AF #9D52AF
triadic
#6E52AF #AF6E52 #52AF6E
tetradic
#6E52AF #AF5264 #93AF52 #52AF9D
square
#6E52AF #AF5264 #93AF52 #52AF9D
split-complementary
#6E52AF #AF9D52 #64AF52
monochromatic
#392B5C #543E86 #6E52AF #917CC2 #B4A6D6
Accessibility & contrast
On white
6.02
#6E52AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#6E52AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52AF
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52AF | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#3261AD
Tritanopia (blue-blind)
#5E6578
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6e52af; /* rgb */ color: rgb(110, 82, 175); /* oklch */ color: oklch(51.3% 0.143 294.7);
Tailwind
colors: {
custom: {
50: '#9b83c7',
500: '#6e52af',
950: '#000000',
},
}SCSS
$custom: #6e52af; $custom-light: #9b83c7; $custom-dark: #000000;
JSON
{
"hex": "#6e52af",
"rgb": {
"r": 110,
"g": 82,
"b": 175
},
"hsl": {
"h": 258.065,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.51293,
"c": 0.14276,
"h": 294.7
},
"luminance": 0.12445
}Semantic roles & 50–950 ramp
primary
#6E52AF
secondary
#B7C39A
accent
#CD5BAB
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82