#6B2FB1#6B2FB1
#6B2FB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.193 H 299.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2FB1 |
|---|---|
| RGB | rgb(107, 47, 177) |
| HSL | hsl(268, 58%, 44%) |
| HSV | hsv(268, 73%, 69%) |
| CMYK | cmyk(39.5%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(34.67, 51.89, -58.70) |
| CIE-LCH | lch(34.67, 78.35, 311.48°) |
| OKLab | oklab(46% 0.0957 -0.1676) |
| OKLCH | oklch(46% 0.193 299.7) |
| XYZ | xyz(15.0137, 8.3330, 42.4039) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.86
Purple Blue
#5D21D0
ΔE00 5.14
Bluey Purple
#6241C7
ΔE00 5.59
Blurple
#5539CC
ΔE00 5.86
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Purple (survey)
#7E1E9C
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2FB1 #75B12F
analogous
#2F34B1 #6B2FB1 #AC2FB1
triadic
#6B2FB1 #B16B2F #2FB16B
tetradic
#6B2FB1 #B12F34 #75B12F #2FB1AC
square
#6B2FB1 #B12F34 #75B12F #2FB1AC
split-complementary
#6B2FB1 #B1AC2F #34B12F
monochromatic
#311550 #4E2281 #6B2FB1 #8A4DD0 #AA7EDD
Accessibility & contrast
On white
7.88
#6B2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#6B2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2FB1
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2FB1 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#5B506D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6b2fb1; /* rgb */ color: rgb(107, 47, 177); /* oklch */ color: oklch(46.0% 0.193 299.7);
Tailwind
colors: {
custom: {
50: '#9c6dc9',
500: '#6b2fb1',
950: '#000000',
},
}SCSS
$custom: #6b2fb1; $custom-light: #9c6dc9; $custom-dark: #000000;
JSON
{
"hex": "#6b2fb1",
"rgb": {
"r": 107,
"g": 47,
"b": 177
},
"hsl": {
"h": 267.692,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.46001,
"c": 0.19302,
"h": 299.7
},
"luminance": 0.08333
}Semantic roles & 50–950 ramp
primary
#6B2FB1
secondary
#A1C576
accent
#E1479A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82