#6B2FA9#6B2FA9
#6B2FA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 301.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2FA9 |
|---|---|
| RGB | rgb(107, 47, 169) |
| HSL | hsl(270, 56%, 42%) |
| HSV | hsv(270, 72%, 66%) |
| CMYK | cmyk(36.7%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.03, 49.90, -54.95) |
| CIE-LCH | lch(34.03, 74.23, 312.24°) |
| OKLab | oklab(45.35% 0.0973 -0.1566) |
| OKLCH | oklch(45.35% 0.184 301.9) |
| XYZ | xyz(14.2396, 8.0233, 38.3269) |
| Luminance | 0.0802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.72
Purple (survey)
#7E1E9C
ΔE00 5.17
Purple Blue
#5D21D0
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.53
Blue With A Hint Of Purple
#533CC6
ΔE00 6.89
Blurple
#5539CC
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2FA9 #6DA92F
analogous
#2F30A9 #6B2FA9 #A82FA9
triadic
#6B2FA9 #A96B2F #2FA96B
tetradic
#6B2FA9 #A92F30 #6DA92F #2FA9A8
square
#6B2FA9 #A92F30 #6DA92F #2FA9A8
split-complementary
#6B2FA9 #A9A82F #30A92F
monochromatic
#2E1449 #4D2279 #6B2FA9 #8A49CC #A879DA
Accessibility & contrast
On white
8.06
#6B2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#6B2FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2FA9
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2FA9 | 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)
#004FAD
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#5E4D69
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #6b2fa9; /* rgb */ color: rgb(107, 47, 169); /* oklch */ color: oklch(45.4% 0.184 301.9);
Tailwind
colors: {
custom: {
50: '#9b6dc3',
500: '#6b2fa9',
950: '#000000',
},
}SCSS
$custom: #6b2fa9; $custom-light: #9b6dc3; $custom-dark: #000000;
JSON
{
"hex": "#6b2fa9",
"rgb": {
"r": 107,
"g": 47,
"b": 169
},
"hsl": {
"h": 269.508,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.45353,
"c": 0.18439,
"h": 301.9
},
"luminance": 0.08023
}Semantic roles & 50–950 ramp
primary
#6B2FA9
secondary
#9BC272
accent
#E04895
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82