#6E5FB1#6E5FB1
#6E5FB1 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 53.8% C 0.125 H 289.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6E5FB1 |
|---|---|
| RGB | rgb(110, 95, 177) |
| HSL | hsl(251, 34%, 53%) |
| HSV | hsv(251, 46%, 69%) |
| CMYK | cmyk(37.9%, 46.3%, 0%, 30.6%) |
| CIE-LAB | lab(45.18, 25.82, -41.75) |
| CIE-LCH | lch(45.18, 49.09, 301.73°) |
| OKLab | oklab(53.78% 0.0427 -0.1178) |
| OKLCH | oklch(53.78% 0.125 289.9) |
| XYZ | xyz(18.4563, 14.6732, 43.4462) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.35
Royal Purple
#7851A9
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.75
Deep Lavender
#8D5EB7
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E5FB1 #A2B15F
analogous
#5F79B1 #6E5FB1 #975FB1
triadic
#6E5FB1 #B16E5F #5FB16E
tetradic
#6E5FB1 #B15F79 #A2B15F #5FB197
square
#6E5FB1 #B15F79 #A2B15F #5FB197
split-complementary
#6E5FB1 #B1975F #79B15F
monochromatic
#3A3165 #52458E #6E5FB1 #9388C5 #B9B1D9
Accessibility & contrast
On white
5.34
#6E5FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#6E5FB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E5FB1
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E5FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E5FB1 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#5D6F7F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6e5fb1; /* rgb */ color: rgb(110, 95, 177); /* oklch */ color: oklch(53.8% 0.125 289.9);
Tailwind
colors: {
custom: {
50: '#9b8cc9',
500: '#6e5fb1',
950: '#000000',
},
}SCSS
$custom: #6e5fb1; $custom-light: #9b8cc9; $custom-dark: #000000;
JSON
{
"hex": "#6e5fb1",
"rgb": {
"r": 110,
"g": 95,
"b": 177
},
"hsl": {
"h": 250.976,
"s": 34.454,
"l": 53.333
},
"oklch": {
"l": 0.53778,
"c": 0.12531,
"h": 289.9
},
"luminance": 0.14674
}Semantic roles & 50–950 ramp
primary
#6E5FB1
secondary
#C1C8A4
accent
#CB5DB7
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82