#6D4792#6D4792
#6D4792 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.5% C 0.122 H 305.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4792 |
|---|---|
| RGB | rgb(109, 71, 146) |
| HSL | hsl(270, 35%, 43%) |
| HSV | hsv(270, 51%, 57%) |
| CMYK | cmyk(25.3%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(37.54, 31.68, -35.42) |
| CIE-LCH | lch(37.54, 47.52, 311.81°) |
| OKLab | oklab(47.47% 0.0712 -0.0993) |
| OKLCH | oklch(47.47% 0.122 305.6) |
| XYZ | xyz(13.7471, 9.8331, 28.3623) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.87
Rebeccapurple
#663399
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 8.16
Light Eggplant
#894585
ΔE00 8.35
Blueberry
#464196
ΔE00 8.89
Purple (survey)
#7E1E9C
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4792 #6C9247
analogous
#484792 #6D4792 #924791
triadic
#6D4792 #926D47 #47926D
tetradic
#6D4792 #924847 #6C9247 #479192
square
#6D4792 #924847 #6C9247 #479192
split-complementary
#6D4792 #919247 #479248
monochromatic
#301F40 #4E3369 #6D4792 #8C63B3 #AA8CC7
Accessibility & contrast
On white
7.08
#6D4792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#6D4792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D4792
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4792 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#3C5990
Tritanopia (blue-blind)
#675466
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #6d4792; /* rgb */ color: rgb(109, 71, 146); /* oklch */ color: oklch(47.5% 0.122 305.6);
Tailwind
colors: {
custom: {
50: '#997bb2',
500: '#6d4792',
950: '#000000',
},
}SCSS
$custom: #6d4792; $custom-light: #997bb2; $custom-dark: #000000;
JSON
{
"hex": "#6d4792",
"rgb": {
"r": 109,
"g": 71,
"b": 146
},
"hsl": {
"h": 270.4,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.47469,
"c": 0.12222,
"h": 305.6
},
"luminance": 0.09833
}Semantic roles & 50–950 ramp
primary
#6D4792
secondary
#9AB382
accent
#CB5D93
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80