#6F4792#6F4792
#6F4792 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.7% C 0.123 H 307.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4792 |
|---|---|
| RGB | rgb(111, 71, 146) |
| HSL | hsl(272, 35%, 43%) |
| HSV | hsv(272, 51%, 57%) |
| CMYK | cmyk(24%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(37.77, 32.25, -35.03) |
| CIE-LCH | lch(37.77, 47.62, 312.63°) |
| OKLab | oklab(47.69% 0.0739 -0.0981) |
| OKLCH | oklch(47.69% 0.123 307) |
| XYZ | xyz(13.9960, 9.9614, 28.3740) |
| Luminance | 0.0996 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.83
Rebeccapurple
#663399
ΔE00 6.13
Light Eggplant
#894585
ΔE00 7.90
Darkslateblue
#483D8B
ΔE00 8.61
Purple (survey)
#7E1E9C
ΔE00 8.88
Purply
#983FB2
ΔE00 8.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4792 #6A9247
analogous
#4A4792 #6F4792 #92478F
triadic
#6F4792 #926F47 #47926F
tetradic
#6F4792 #924A47 #6A9247 #478F92
square
#6F4792 #924A47 #6A9247 #478F92
split-complementary
#6F4792 #8F9247 #47924A
monochromatic
#301F40 #503369 #6F4792 #8E63B3 #AC8CC7
Accessibility & contrast
On white
7.02
#6F4792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#6F4792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F4792
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4792 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325795
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#6A5466
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #6f4792; /* rgb */ color: rgb(111, 71, 146); /* oklch */ color: oklch(47.7% 0.123 307.0);
Tailwind
colors: {
custom: {
50: '#9a7bb2',
500: '#6f4792',
950: '#000000',
},
}SCSS
$custom: #6f4792; $custom-light: #9a7bb2; $custom-dark: #000000;
JSON
{
"hex": "#6f4792",
"rgb": {
"r": 111,
"g": 71,
"b": 146
},
"hsl": {
"h": 272,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.47694,
"c": 0.12285,
"h": 307
},
"luminance": 0.09961
}Semantic roles & 50–950 ramp
primary
#6F4792
secondary
#99B382
accent
#CB5D90
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80