#6A4792#6A4792
#6A4792 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.1% C 0.121 H 303.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4792 |
|---|---|
| RGB | rgb(106, 71, 146) |
| HSL | hsl(268, 35%, 43%) |
| HSV | hsv(268, 51%, 57%) |
| CMYK | cmyk(27.4%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(37.20, 30.82, -35.98) |
| CIE-LCH | lch(37.20, 47.38, 310.58°) |
| OKLab | oklab(47.14% 0.0673 -0.101) |
| OKLCH | oklch(47.14% 0.121 303.6) |
| XYZ | xyz(13.3843, 9.6460, 28.3453) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.01
Rebeccapurple
#663399
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 7.48
Blueberry
#464196
ΔE00 8.20
Twilight
#4E518B
ΔE00 8.70
Light Eggplant
#894585
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4792 #6F9247
analogous
#474A92 #6A4792 #8F4792
triadic
#6A4792 #926A47 #47926A
tetradic
#6A4792 #92474A #6F9247 #47928F
square
#6A4792 #92474A #6F9247 #47928F
split-complementary
#6A4792 #928F47 #4A9247
monochromatic
#2E1F40 #4C3369 #6A4792 #8863B3 #A88CC7
Accessibility & contrast
On white
7.17
#6A4792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#6A4792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A4792
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4792 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#3A5790
Tritanopia (blue-blind)
#635566
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6a4792; /* rgb */ color: rgb(106, 71, 146); /* oklch */ color: oklch(47.1% 0.121 303.6);
Tailwind
colors: {
custom: {
50: '#977bb2',
500: '#6a4792',
950: '#000000',
},
}SCSS
$custom: #6a4792; $custom-light: #977bb2; $custom-dark: #000000;
JSON
{
"hex": "#6a4792",
"rgb": {
"r": 106,
"g": 71,
"b": 146
},
"hsl": {
"h": 268,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.47137,
"c": 0.12138,
"h": 303.6
},
"luminance": 0.09646
}Semantic roles & 50–950 ramp
primary
#6A4792
secondary
#9CB382
accent
#CB5D98
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80