#6F2FA9#6F2FA9
#6F2FA9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.185 H 303.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2FA9 |
|---|---|
| RGB | rgb(111, 47, 169) |
| HSL | hsl(271, 56%, 42%) |
| HSV | hsv(271, 72%, 66%) |
| CMYK | cmyk(34.3%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.55, 50.68, -54.08) |
| CIE-LCH | lch(34.55, 74.12, 313.14°) |
| OKLab | oklab(45.84% 0.103 -0.1539) |
| OKLCH | oklch(45.84% 0.185 303.8) |
| XYZ | xyz(14.7318, 8.2771, 38.3500) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.86
Purple (survey)
#7E1E9C
ΔE00 4.61
Purple Blue
#5D21D0
ΔE00 6.61
Bluey Purple
#6241C7
ΔE00 6.80
Blurple
#5539CC
ΔE00 7.36
Blue With A Hint Of Purple
#533CC6
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2FA9 #69A92F
analogous
#322FA9 #6F2FA9 #A92FA6
triadic
#6F2FA9 #A96F2F #2FA96F
tetradic
#6F2FA9 #A9322F #69A92F #2FA6A9
square
#6F2FA9 #A9322F #69A92F #2FA6A9
split-complementary
#6F2FA9 #A6A92F #2FA932
monochromatic
#301449 #502279 #6F2FA9 #8E49CC #AC79DA
Accessibility & contrast
On white
7.91
#6F2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#6F2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2FA9
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2FA9 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#644C69
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6f2fa9; /* rgb */ color: rgb(111, 47, 169); /* oklch */ color: oklch(45.8% 0.185 303.8);
Tailwind
colors: {
custom: {
50: '#9d6dc3',
500: '#6f2fa9',
950: '#000000',
},
}SCSS
$custom: #6f2fa9; $custom-light: #9d6dc3; $custom-dark: #000000;
JSON
{
"hex": "#6f2fa9",
"rgb": {
"r": 111,
"g": 47,
"b": 169
},
"hsl": {
"h": 271.475,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.45837,
"c": 0.18521,
"h": 303.8
},
"luminance": 0.08277
}Semantic roles & 50–950 ramp
primary
#6F2FA9
secondary
#98C272
accent
#E04890
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82