#6F2799#6F2799
#6F2799 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.178 H 309.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2799 |
|---|---|
| RGB | rgb(111, 39, 153) |
| HSL | hsl(278, 59%, 38%) |
| HSV | hsv(278, 75%, 60%) |
| CMYK | cmyk(27.5%, 74.5%, 0%, 40%) |
| CIE-LAB | lab(32.10, 50.47, -48.38) |
| CIE-LCH | lch(32.10, 69.92, 316.21°) |
| OKLab | oklab(43.72% 0.1139 -0.1371) |
| OKLCH | oklch(43.72% 0.178 309.7) |
| XYZ | xyz(13.0297, 7.1307, 30.8208) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.85
Rebeccapurple
#663399
ΔE00 2.89
Darkmagenta
#8B008B
ΔE00 7.04
Purple
#800080
ΔE00 7.14
Darkish Purple
#751973
ΔE00 8.00
Indigo
#4B0082
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2799 #519927
analogous
#362799 #6F2799 #99278A
triadic
#6F2799 #996F27 #27996F
tetradic
#6F2799 #993627 #519927 #278A99
square
#6F2799 #993627 #519927 #278A99
split-complementary
#6F2799 #8A9927 #279936
monochromatic
#280E37 #4C1B68 #6F2799 #9233CA #AC63D7
Accessibility & contrast
On white
8.66
#6F2799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#6F2799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2799
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2799 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#0B4D97
Tritanopia (blue-blind)
#69415E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6f2799; /* rgb */ color: rgb(111, 39, 153); /* oklch */ color: oklch(43.7% 0.178 309.7);
Tailwind
colors: {
custom: {
50: '#9d68b8',
500: '#6f2799',
950: '#000000',
},
}SCSS
$custom: #6f2799; $custom-light: #9d68b8; $custom-dark: #000000;
JSON
{
"hex": "#6f2799",
"rgb": {
"r": 111,
"g": 39,
"b": 153
},
"hsl": {
"h": 277.895,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.43719,
"c": 0.17823,
"h": 309.7
},
"luminance": 0.0713
}Semantic roles & 50–950 ramp
primary
#6F2799
secondary
#82BD5F
accent
#E3457F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80