#6E52BF#6E52BF
#6E52BF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.164 H 291.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #6E52BF |
|---|---|
| RGB | rgb(110, 82, 191) |
| HSL | hsl(255, 46%, 54%) |
| HSV | hsv(255, 57%, 75%) |
| CMYK | cmyk(42.4%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(42.93, 37.57, -53.53) |
| CIE-LCH | lch(42.93, 65.40, 305.06°) |
| OKLab | oklab(52.37% 0.0602 -0.1524) |
| OKLCH | oklch(52.37% 0.164 291.6) |
| XYZ | xyz(18.8491, 13.1106, 50.8176) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.34
Slate Blue
#6A5ACD
ΔE00 3.47
Light Indigo
#6D5ACF
ΔE00 3.50
Royal Purple
#7851A9
ΔE00 4.91
Bluey Purple
#6241C7
ΔE00 5.05
Dark Periwinkle
#665FD1
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E52BF #A3BF52
analogous
#526CBF #6E52BF #A452BF
triadic
#6E52BF #BF6E52 #52BF6E
tetradic
#6E52BF #BF526C #A3BF52 #52BFA4
square
#6E52BF #BF526C #A3BF52 #52BFA4
split-complementary
#6E52BF #BFA452 #6CBF52
monochromatic
#3A296E #52399B #6E52BF #937FD0 #B9ABE0
Accessibility & contrast
On white
5.80
#6E52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#6E52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E52BF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E52BF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#1B63BD
Tritanopia (blue-blind)
#576A80
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6e52bf; /* rgb */ color: rgb(110, 82, 191); /* oklch */ color: oklch(52.4% 0.164 291.6);
Tailwind
colors: {
custom: {
50: '#9d83d3',
500: '#6e52bf',
950: '#000000',
},
}SCSS
$custom: #6e52bf; $custom-light: #9d83d3; $custom-dark: #000000;
JSON
{
"hex": "#6e52bf",
"rgb": {
"r": 110,
"g": 82,
"b": 191
},
"hsl": {
"h": 255.413,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.5237,
"c": 0.16387,
"h": 291.6
},
"luminance": 0.13111
}Semantic roles & 50–950 ramp
primary
#6E52BF
secondary
#C2CE9F
accent
#D652B4
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83