#6A4E95#6A4E95
#6A4E95 is a mid, moderate violet. Relative luminance 0.107; OKLCH L 48.6% C 0.113 H 300.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4E95 |
|---|---|
| RGB | rgb(106, 78, 149) |
| HSL | hsl(264, 31%, 45%) |
| HSV | hsv(264, 48%, 58%) |
| CMYK | cmyk(28.9%, 47.7%, 0%, 41.6%) |
| CIE-LAB | lab(39.04, 27.39, -34.88) |
| CIE-LCH | lch(39.04, 44.35, 308.14°) |
| OKLab | oklab(48.57% 0.0575 -0.0979) |
| OKLCH | oklch(48.57% 0.113 300.4) |
| XYZ | xyz(14.0918, 10.6828, 29.7475) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.24
Twilight
#4E518B
ΔE00 7.45
Rebeccapurple
#663399
ΔE00 7.76
Darkslateblue
#483D8B
ΔE00 8.08
Blueberry
#464196
ΔE00 8.40
Dusk
#4E5481
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4E95 #79954E
analogous
#4E5595 #6A4E95 #8E4E95
triadic
#6A4E95 #956A4E #4E956A
tetradic
#6A4E95 #954E55 #79954E #4E958E
square
#6A4E95 #954E55 #79954E #4E958E
split-complementary
#6A4E95 #958E4E #55954E
monochromatic
#312445 #4D396D #6A4E95 #896DB3 #A996C8
Accessibility & contrast
On white
6.70
#6A4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#6A4E95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4E95
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4E95 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395C98
Deuteranopia (green-blind)
#3F5C93
Tritanopia (blue-blind)
#625B6A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #6a4e95; /* rgb */ color: rgb(106, 78, 149); /* oklch */ color: oklch(48.6% 0.113 300.4);
Tailwind
colors: {
custom: {
50: '#9680b4',
500: '#6a4e95',
950: '#000000',
},
}SCSS
$custom: #6a4e95; $custom-light: #9680b4; $custom-dark: #000000;
JSON
{
"hex": "#6a4e95",
"rgb": {
"r": 106,
"g": 78,
"b": 149
},
"hsl": {
"h": 263.662,
"s": 31.278,
"l": 44.51
},
"oklch": {
"l": 0.48566,
"c": 0.11349,
"h": 300.4
},
"luminance": 0.10683
}Semantic roles & 50–950 ramp
primary
#6A4E95
secondary
#A4B48A
accent
#C7609F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80