#6B2FA1#6B2FA1
#6B2FA1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.176 H 304.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2FA1 |
|---|---|
| RGB | rgb(107, 47, 161) |
| HSL | hsl(272, 55%, 41%) |
| HSV | hsv(272, 71%, 63%) |
| CMYK | cmyk(33.5%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(33.42, 47.94, -51.13) |
| CIE-LCH | lch(33.42, 70.09, 313.15°) |
| OKLab | oklab(44.72% 0.0987 -0.1454) |
| OKLCH | oklch(44.72% 0.176 304.2) |
| XYZ | xyz(13.5115, 7.7321, 34.4919) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.68
Purple (survey)
#7E1E9C
ΔE00 4.52
Purple Blue
#5D21D0
ΔE00 7.41
Bluey Purple
#6241C7
ΔE00 7.60
Blue With A Hint Of Purple
#533CC6
ΔE00 7.96
Blurple
#5539CC
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2FA1 #65A12F
analogous
#322FA1 #6B2FA1 #A12F9E
triadic
#6B2FA1 #A16B2F #2FA16B
tetradic
#6B2FA1 #A1322F #65A12F #2F9EA1
square
#6B2FA1 #A1322F #65A12F #2F9EA1
split-complementary
#6B2FA1 #9EA12F #2FA132
monochromatic
#2C1342 #4C2172 #6B2FA1 #8A45C9 #A874D6
Accessibility & contrast
On white
8.25
#6B2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#6B2FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2FA1
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2FA1 | 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)
#004DA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#614964
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6b2fa1; /* rgb */ color: rgb(107, 47, 161); /* oklch */ color: oklch(44.7% 0.176 304.2);
Tailwind
colors: {
custom: {
50: '#9a6dbe',
500: '#6b2fa1',
950: '#000000',
},
}SCSS
$custom: #6b2fa1; $custom-light: #9a6dbe; $custom-dark: #000000;
JSON
{
"hex": "#6b2fa1",
"rgb": {
"r": 107,
"g": 47,
"b": 161
},
"hsl": {
"h": 271.579,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.44724,
"c": 0.17572,
"h": 304.2
},
"luminance": 0.07732
}Semantic roles & 50–950 ramp
primary
#6B2FA1
secondary
#94BE6E
accent
#DE4A90
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81