#6F2BAE#6F2BAE
#6F2BAE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.195 H 302.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2BAE |
|---|---|
| RGB | rgb(111, 43, 174) |
| HSL | hsl(271, 60%, 43%) |
| HSV | hsv(271, 75%, 68%) |
| CMYK | cmyk(36.2%, 75.3%, 0%, 31.8%) |
| CIE-LAB | lab(34.32, 53.65, -57.45) |
| CIE-LCH | lch(34.32, 78.60, 313.04°) |
| OKLab | oklab(45.79% 0.1059 -0.1638) |
| OKLCH | oklch(45.79% 0.195 302.9) |
| XYZ | xyz(15.0576, 8.1632, 40.8186) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.70
Purple (survey)
#7E1E9C
ΔE00 4.86
Purple Blue
#5D21D0
ΔE00 5.73
Bluey Purple
#6241C7
ΔE00 6.65
Blurple
#5539CC
ΔE00 6.94
Violet Blue
#510AC9
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2BAE #6AAE2B
analogous
#2D2BAE #6F2BAE #AE2BAC
triadic
#6F2BAE #AE6F2B #2BAE6F
tetradic
#6F2BAE #AE2D2B #6AAE2B #2BACAE
square
#6F2BAE #AE2D2B #6AAE2B #2BACAE
split-complementary
#6F2BAE #ACAE2B #2BAE2D
monochromatic
#30134C #501F7D #6F2BAE #8E45D1 #AC76DD
Accessibility & contrast
On white
7.98
#6F2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#6F2BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2BAE
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2BAE | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#624C6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6f2bae; /* rgb */ color: rgb(111, 43, 174); /* oklch */ color: oklch(45.8% 0.195 302.9);
Tailwind
colors: {
custom: {
50: '#9e6bc7',
500: '#6f2bae',
950: '#000000',
},
}SCSS
$custom: #6f2bae; $custom-light: #9e6bc7; $custom-dark: #000000;
JSON
{
"hex": "#6f2bae",
"rgb": {
"r": 111,
"g": 43,
"b": 174
},
"hsl": {
"h": 271.145,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.45794,
"c": 0.19503,
"h": 302.9
},
"luminance": 0.08163
}Semantic roles & 50–950 ramp
primary
#6F2BAE
secondary
#99C570
accent
#E44491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82