#6D2BAB#6D2BAB
#6D2BAB is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.192 H 302.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2BAB |
|---|---|
| RGB | rgb(109, 43, 171) |
| HSL | hsl(271, 60%, 42%) |
| HSV | hsv(271, 75%, 67%) |
| CMYK | cmyk(36.3%, 74.9%, 0%, 32.9%) |
| CIE-LAB | lab(33.81, 52.57, -56.49) |
| CIE-LCH | lch(33.81, 77.17, 312.94°) |
| OKLab | oklab(45.31% 0.1037 -0.161) |
| OKLCH | oklch(45.31% 0.192 302.8) |
| XYZ | xyz(14.5195, 7.9192, 39.2838) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.29
Purple (survey)
#7E1E9C
ΔE00 4.80
Purple Blue
#5D21D0
ΔE00 5.93
Bluey Purple
#6241C7
ΔE00 6.88
Violet Blue
#510AC9
ΔE00 7.09
Blurple
#5539CC
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2BAB #69AB2B
analogous
#2D2BAB #6D2BAB #AB2BA9
triadic
#6D2BAB #AB6D2B #2BAB6D
tetradic
#6D2BAB #AB2D2B #69AB2B #2BA9AB
square
#6D2BAB #AB2D2B #69AB2B #2BA9AB
split-complementary
#6D2BAB #A9AB2B #2BAB2D
monochromatic
#2F1249 #4E1F7A #6D2BAB #8C43D0 #AA74DC
Accessibility & contrast
On white
8.13
#6D2BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#6D2BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2BAB
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2BAB | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#604B69
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6d2bab; /* rgb */ color: rgb(109, 43, 171); /* oklch */ color: oklch(45.3% 0.192 302.8);
Tailwind
colors: {
custom: {
50: '#9c6bc5',
500: '#6d2bab',
950: '#000000',
},
}SCSS
$custom: #6d2bab; $custom-light: #9c6bc5; $custom-dark: #000000;
JSON
{
"hex": "#6d2bab",
"rgb": {
"r": 109,
"g": 43,
"b": 171
},
"hsl": {
"h": 270.938,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.45305,
"c": 0.19152,
"h": 302.8
},
"luminance": 0.07919
}Semantic roles & 50–950 ramp
primary
#6D2BAB
secondary
#98C46E
accent
#E34591
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82