#6F2BAB#6F2BAB
#6F2BAB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.192 H 303.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2BAB |
|---|---|
| RGB | rgb(111, 43, 171) |
| HSL | hsl(272, 60%, 42%) |
| HSV | hsv(272, 75%, 67%) |
| CMYK | cmyk(35.1%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.08, 52.93, -56.05) |
| CIE-LCH | lch(34.08, 77.09, 313.36°) |
| OKLab | oklab(45.55% 0.1065 -0.1597) |
| OKLCH | oklch(45.55% 0.192 303.7) |
| XYZ | xyz(14.7684, 8.0476, 39.2955) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.35
Purple (survey)
#7E1E9C
ΔE00 4.52
Purple Blue
#5D21D0
ΔE00 6.14
Bluey Purple
#6241C7
ΔE00 7.00
Blurple
#5539CC
ΔE00 7.32
Violet Blue
#510AC9
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2BAB #67AB2B
analogous
#2F2BAB #6F2BAB #AB2BA7
triadic
#6F2BAB #AB6F2B #2BAB6F
tetradic
#6F2BAB #AB2F2B #67AB2B #2BA7AB
square
#6F2BAB #AB2F2B #67AB2B #2BA7AB
split-complementary
#6F2BAB #A7AB2B #2BAB2F
monochromatic
#301249 #4F1F7A #6F2BAB #8E43D0 #AB74DC
Accessibility & contrast
On white
8.05
#6F2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#6F2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2BAB
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2BAB | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#634B69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6f2bab; /* rgb */ color: rgb(111, 43, 171); /* oklch */ color: oklch(45.6% 0.192 303.7);
Tailwind
colors: {
custom: {
50: '#9e6bc5',
500: '#6f2bab',
950: '#000000',
},
}SCSS
$custom: #6f2bab; $custom-light: #9e6bc5; $custom-dark: #000000;
JSON
{
"hex": "#6f2bab",
"rgb": {
"r": 111,
"g": 43,
"b": 171
},
"hsl": {
"h": 271.875,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.45552,
"c": 0.19194,
"h": 303.7
},
"luminance": 0.08048
}Semantic roles & 50–950 ramp
primary
#6F2BAB
secondary
#96C46E
accent
#E3458F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82