#6A2BB1#6A2BB1
#6A2BB1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.197 H 299.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2BB1 |
|---|---|
| RGB | rgb(106, 43, 177) |
| HSL | hsl(268, 61%, 43%) |
| HSV | hsv(268, 76%, 69%) |
| CMYK | cmyk(40.1%, 75.7%, 0%, 30.6%) |
| CIE-LAB | lab(33.91, 53.50, -59.93) |
| CIE-LCH | lch(33.91, 80.34, 311.76°) |
| OKLab | oklab(45.44% 0.0979 -0.1713) |
| OKLCH | oklch(45.44% 0.197 299.8) |
| XYZ | xyz(14.7416, 7.9661, 42.3474) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.06
Purple Blue
#5D21D0
ΔE00 4.83
Purple (survey)
#7E1E9C
ΔE00 5.85
Blurple
#5539CC
ΔE00 6.06
Bluey Purple
#6241C7
ΔE00 6.09
Violet Blue
#510AC9
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2BB1 #72B12B
analogous
#2B2FB1 #6A2BB1 #AD2BB1
triadic
#6A2BB1 #B16A2B #2BB16A
tetradic
#6A2BB1 #B12B2F #72B12B #2BB1AD
square
#6A2BB1 #B12B2F #72B12B #2BB1AD
split-complementary
#6A2BB1 #B1AD2B #2FB12B
monochromatic
#2F134F #4D1F80 #6A2BB1 #8847D2 #A878DE
Accessibility & contrast
On white
8.10
#6A2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#6A2BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2BB1
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2BB1 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#594E6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6a2bb1; /* rgb */ color: rgb(106, 43, 177); /* oklch */ color: oklch(45.4% 0.197 299.8);
Tailwind
colors: {
custom: {
50: '#9b6bc9',
500: '#6a2bb1',
950: '#000000',
},
}SCSS
$custom: #6a2bb1; $custom-light: #9b6bc9; $custom-dark: #000000;
JSON
{
"hex": "#6a2bb1",
"rgb": {
"r": 106,
"g": 43,
"b": 177
},
"hsl": {
"h": 268.209,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.45441,
"c": 0.19728,
"h": 299.8
},
"luminance": 0.07966
}Semantic roles & 50–950 ramp
primary
#6A2BB1
secondary
#9EC672
accent
#E44499
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82