#6A2BAB#6A2BAB
#6A2BAB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.191 H 301.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2BAB |
|---|---|
| RGB | rgb(106, 43, 171) |
| HSL | hsl(270, 60%, 42%) |
| HSV | hsv(270, 75%, 67%) |
| CMYK | cmyk(38%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(33.42, 52.03, -57.15) |
| CIE-LCH | lch(33.42, 77.29, 312.31°) |
| OKLab | oklab(44.94% 0.0993 -0.1631) |
| OKLCH | oklch(44.94% 0.191 301.3) |
| XYZ | xyz(14.1566, 7.7321, 39.2668) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.27
Purple (survey)
#7E1E9C
ΔE00 5.24
Purple Blue
#5D21D0
ΔE00 5.65
Violet Blue
#510AC9
ΔE00 6.72
Bluey Purple
#6241C7
ΔE00 6.73
Blurple
#5539CC
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2BAB #6CAB2B
analogous
#2B2CAB #6A2BAB #AA2BAB
triadic
#6A2BAB #AB6A2B #2BAB6A
tetradic
#6A2BAB #AB2B2C #6CAB2B #2BABAA
square
#6A2BAB #AB2B2C #6CAB2B #2BABAA
split-complementary
#6A2BAB #ABAA2B #2CAB2B
monochromatic
#2D1249 #4C1F7A #6A2BAB #8943D0 #A774DC
Accessibility & contrast
On white
8.25
#6A2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#6A2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2BAB
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2BAB | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#5C4B69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6a2bab; /* rgb */ color: rgb(106, 43, 171); /* oklch */ color: oklch(44.9% 0.191 301.3);
Tailwind
colors: {
custom: {
50: '#9b6bc5',
500: '#6a2bab',
950: '#000000',
},
}SCSS
$custom: #6a2bab; $custom-light: #9b6bc5; $custom-dark: #000000;
JSON
{
"hex": "#6a2bab",
"rgb": {
"r": 106,
"g": 43,
"b": 171
},
"hsl": {
"h": 269.531,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.44941,
"c": 0.19096,
"h": 301.3
},
"luminance": 0.07732
}Semantic roles & 50–950 ramp
primary
#6A2BAB
secondary
#9AC46E
accent
#E34595
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82