#6B2DAD#6B2DAD
#6B2DAD is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.191 H 301.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2DAD |
|---|---|
| RGB | rgb(107, 45, 173) |
| HSL | hsl(269, 59%, 43%) |
| HSV | hsv(269, 74%, 68%) |
| CMYK | cmyk(38.2%, 74%, 0%, 32.2%) |
| CIE-LAB | lab(34.02, 51.81, -57.36) |
| CIE-LCH | lch(34.02, 77.29, 312.09°) |
| OKLab | oklab(45.45% 0.0985 -0.1637) |
| OKLCH | oklch(45.45% 0.191 301) |
| XYZ | xyz(14.5428, 8.0196, 40.3088) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.39
Purple (survey)
#7E1E9C
ΔE00 5.41
Purple Blue
#5D21D0
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 6.29
Blurple
#5539CC
ΔE00 6.50
Blue With A Hint Of Purple
#533CC6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2DAD #6FAD2D
analogous
#2D2FAD #6B2DAD #AB2DAD
triadic
#6B2DAD #AD6B2D #2DAD6B
tetradic
#6B2DAD #AD2D2F #6FAD2D #2DADAB
square
#6B2DAD #AD2D2F #6FAD2D #2DADAB
split-complementary
#6B2DAD #ADAB2D #2FAD2D
monochromatic
#2F144C #4D207C #6B2DAD #8948CF #A978DC
Accessibility & contrast
On white
8.06
#6B2DAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6B2DAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2DAD
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2DAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2DAD | 1.00 | 8.06 | 2.60 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#5C4D6B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6b2dad; /* rgb */ color: rgb(107, 45, 173); /* oklch */ color: oklch(45.4% 0.191 301.0);
Tailwind
colors: {
custom: {
50: '#9b6cc6',
500: '#6b2dad',
950: '#000000',
},
}SCSS
$custom: #6b2dad; $custom-light: #9b6cc6; $custom-dark: #000000;
JSON
{
"hex": "#6b2dad",
"rgb": {
"r": 107,
"g": 45,
"b": 173
},
"hsl": {
"h": 269.063,
"s": 58.716,
"l": 42.745
},
"oklch": {
"l": 0.45446,
"c": 0.19101,
"h": 301
},
"luminance": 0.0802
}Semantic roles & 50–950 ramp
primary
#6B2DAD
secondary
#9CC472
accent
#E24696
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82