#6C4792#6C4792
#6C4792 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.4% C 0.122 H 305.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4792 |
|---|---|
| RGB | rgb(108, 71, 146) |
| HSL | hsl(270, 35%, 43%) |
| HSV | hsv(270, 51%, 57%) |
| CMYK | cmyk(26%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(37.43, 31.39, -35.61) |
| CIE-LCH | lch(37.43, 47.47, 311.40°) |
| OKLab | oklab(47.36% 0.0699 -0.0999) |
| OKLCH | oklch(47.36% 0.122 305) |
| XYZ | xyz(13.6248, 9.7700, 28.3566) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.90
Rebeccapurple
#663399
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 7.93
Light Eggplant
#894585
ΔE00 8.58
Blueberry
#464196
ΔE00 8.66
Twilight
#4E518B
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4792 #6D9247
analogous
#474892 #6C4792 #914792
triadic
#6C4792 #926C47 #47926C
tetradic
#6C4792 #924748 #6D9247 #479291
square
#6C4792 #924748 #6D9247 #479291
split-complementary
#6C4792 #929147 #489247
monochromatic
#2F1F40 #4E3369 #6C4792 #8B63B3 #A98CC7
Accessibility & contrast
On white
7.11
#6C4792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#6C4792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C4792
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4792 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#665466
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6c4792; /* rgb */ color: rgb(108, 71, 146); /* oklch */ color: oklch(47.4% 0.122 305.0);
Tailwind
colors: {
custom: {
50: '#987bb2',
500: '#6c4792',
950: '#000000',
},
}SCSS
$custom: #6c4792; $custom-light: #987bb2; $custom-dark: #000000;
JSON
{
"hex": "#6c4792",
"rgb": {
"r": 108,
"g": 71,
"b": 146
},
"hsl": {
"h": 269.6,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.47357,
"c": 0.12193,
"h": 305
},
"luminance": 0.0977
}Semantic roles & 50–950 ramp
primary
#6C4792
secondary
#9BB382
accent
#CB5D95
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80