#6E5ABB#6E5ABB
#6E5ABB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.5% C 0.147 H 290.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6E5ABB |
|---|---|
| RGB | rgb(110, 90, 187) |
| HSL | hsl(252, 42%, 54%) |
| HSV | hsv(252, 52%, 73%) |
| CMYK | cmyk(41.2%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(44.54, 31.68, -48.62) |
| CIE-LCH | lch(44.54, 58.03, 303.09°) |
| OKLab | oklab(53.48% 0.0503 -0.1379) |
| OKLCH | oklch(53.48% 0.147 290) |
| XYZ | xyz(19.0537, 14.2146, 48.7439) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.99
Slate Blue
#6A5ACD
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.22
Dark Periwinkle
#665FD1
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 5.22
Deep Lavender
#8D5EB7
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E5ABB #A7BB5A
analogous
#5A77BB #6E5ABB #9F5ABB
triadic
#6E5ABB #BB6E5A #5ABB6E
tetradic
#6E5ABB #BB5A77 #A7BB5A #5ABB9F
square
#6E5ABB #BB5A77 #A7BB5A #5ABB9F
split-complementary
#6E5ABB #BB9F5A #77BB5A
monochromatic
#3A2D6D #523F99 #6E5ABB #9485CD #BAB1DF
Accessibility & contrast
On white
5.46
#6E5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#6E5ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E5ABB
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E5ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E5ABB | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#596E82
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6e5abb; /* rgb */ color: rgb(110, 90, 187); /* oklch */ color: oklch(53.5% 0.147 290.0);
Tailwind
colors: {
custom: {
50: '#9c89d0',
500: '#6e5abb',
950: '#000000',
},
}SCSS
$custom: #6e5abb; $custom-light: #9c89d0; $custom-dark: #000000;
JSON
{
"hex": "#6e5abb",
"rgb": {
"r": 110,
"g": 90,
"b": 187
},
"hsl": {
"h": 252.371,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.53482,
"c": 0.14682,
"h": 290
},
"luminance": 0.14215
}Semantic roles & 50–950 ramp
primary
#6E5ABB
secondary
#C4CDA4
accent
#D156B8
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0F0B14
muted
#7E7C82