#6F2AB1#6F2AB1
#6F2AB1 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.199 H 302.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2AB1 |
|---|---|
| RGB | rgb(111, 42, 177) |
| HSL | hsl(271, 62%, 43%) |
| HSV | hsv(271, 76%, 69%) |
| CMYK | cmyk(37.3%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(34.42, 54.78, -59.08) |
| CIE-LCH | lch(34.42, 80.57, 312.84°) |
| OKLab | oklab(45.94% 0.1061 -0.1686) |
| OKLCH | oklch(45.94% 0.199 302.2) |
| XYZ | xyz(15.3174, 8.2097, 42.3641) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.13
Purple (survey)
#7E1E9C
ΔE00 5.16
Purple Blue
#5D21D0
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 6.46
Blurple
#5539CC
ΔE00 6.66
Violet Blue
#510AC9
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2AB1 #6CB12A
analogous
#2C2AB1 #6F2AB1 #B12AAF
triadic
#6F2AB1 #B16F2A #2AB16F
tetradic
#6F2AB1 #B12C2A #6CB12A #2AAFB1
square
#6F2AB1 #B12C2A #6CB12A #2AAFB1
split-complementary
#6F2AB1 #AFB12A #2AB12C
monochromatic
#31134E #501E80 #6F2AB1 #8E45D3 #AC77DF
Accessibility & contrast
On white
7.95
#6F2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#6F2AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2AB1
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2AB1 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#614D6C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6f2ab1; /* rgb */ color: rgb(111, 42, 177); /* oklch */ color: oklch(45.9% 0.199 302.2);
Tailwind
colors: {
custom: {
50: '#9e6bc9',
500: '#6f2ab1',
950: '#000000',
},
}SCSS
$custom: #6f2ab1; $custom-light: #9e6bc9; $custom-dark: #000000;
JSON
{
"hex": "#6f2ab1",
"rgb": {
"r": 111,
"g": 42,
"b": 177
},
"hsl": {
"h": 270.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.45937,
"c": 0.19917,
"h": 302.2
},
"luminance": 0.0821
}Semantic roles & 50–950 ramp
primary
#6F2AB1
secondary
#9AC670
accent
#E54392
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82