#6E4BA2#6E4BA2
#6E4BA2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.137 H 300.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6E4BA2 |
|---|---|
| RGB | rgb(110, 75, 162) |
| HSL | hsl(264, 37%, 46%) |
| HSV | hsv(264, 54%, 64%) |
| CMYK | cmyk(32.1%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(39.51, 33.73, -41.92) |
| CIE-LCH | lch(39.51, 53.80, 308.82°) |
| OKLab | oklab(49.25% 0.0683 -0.1183) |
| OKLCH | oklch(49.25% 0.137 300) |
| XYZ | xyz(15.4665, 10.9557, 35.4752) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.64
Rebeccapurple
#663399
ΔE00 6.40
Bluey Purple
#6241C7
ΔE00 7.32
Ocean Blue
#4F42B5
ΔE00 7.61
Iris
#6258C4
ΔE00 7.87
Blueberry
#464196
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E4BA2 #7FA24B
analogous
#4B54A2 #6E4BA2 #9A4BA2
triadic
#6E4BA2 #A26E4B #4BA26E
tetradic
#6E4BA2 #A24B54 #7FA24B #4BA29A
square
#6E4BA2 #A24B54 #7FA24B #4BA29A
split-complementary
#6E4BA2 #A29A4B #54A24B
monochromatic
#35244E #523878 #6E4BA2 #8E6EBC #AE98CF
Accessibility & contrast
On white
6.58
#6E4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#6E4BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E4BA2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E4BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E4BA2 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#355CA0
Tritanopia (blue-blind)
#635C6F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #6e4ba2; /* rgb */ color: rgb(110, 75, 162); /* oklch */ color: oklch(49.3% 0.137 300.0);
Tailwind
colors: {
custom: {
50: '#9a7ebe',
500: '#6e4ba2',
950: '#000000',
},
}SCSS
$custom: #6e4ba2; $custom-light: #9a7ebe; $custom-dark: #000000;
JSON
{
"hex": "#6e4ba2",
"rgb": {
"r": 110,
"g": 75,
"b": 162
},
"hsl": {
"h": 264.138,
"s": 36.709,
"l": 46.471
},
"oklch": {
"l": 0.49254,
"c": 0.13661,
"h": 300
},
"luminance": 0.10956
}Semantic roles & 50–950 ramp
primary
#6E4BA2
secondary
#A9BC8D
accent
#CD5B9F
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81