#6F2197#6F2197
#6F2197 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.183 H 311.0°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2197 |
|---|---|
| RGB | rgb(111, 33, 151) |
| HSL | hsl(280, 64%, 36%) |
| HSV | hsv(280, 78%, 59%) |
| CMYK | cmyk(26.5%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(31.12, 52.42, -48.76) |
| CIE-LCH | lch(31.12, 71.59, 317.07°) |
| OKLab | oklab(42.98% 0.1199 -0.1382) |
| OKLCH | oklch(42.98% 0.183 311) |
| XYZ | xyz(12.6842, 6.7019, 29.8976) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.75
Rebeccapurple
#663399
ΔE00 3.75
Purple
#800080
ΔE00 6.52
Darkmagenta
#8B008B
ΔE00 6.60
Darkish Purple
#751973
ΔE00 7.54
Indigo
#4B0082
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2197 #499721
analogous
#342197 #6F2197 #972184
triadic
#6F2197 #976F21 #21976F
tetradic
#6F2197 #973421 #499721 #218497
square
#6F2197 #973421 #499721 #218497
split-complementary
#6F2197 #849721 #219734
monochromatic
#250B33 #4A1665 #6F2197 #942CC9 #AE58DA
Accessibility & contrast
On white
8.97
#6F2197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#6F2197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2197
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2197 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#034B95
Tritanopia (blue-blind)
#6A3D5B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6f2197; /* rgb */ color: rgb(111, 33, 151); /* oklch */ color: oklch(43.0% 0.183 311.0);
Tailwind
colors: {
custom: {
50: '#9d66b6',
500: '#6f2197',
950: '#000000',
},
}SCSS
$custom: #6f2197; $custom-light: #9d66b6; $custom-dark: #000000;
JSON
{
"hex": "#6f2197",
"rgb": {
"r": 111,
"g": 33,
"b": 151
},
"hsl": {
"h": 279.661,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.42977,
"c": 0.18295,
"h": 311
},
"luminance": 0.06702
}Semantic roles & 50–950 ramp
primary
#6F2197
secondary
#79BE55
accent
#E74179
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80