#6B2EB2#6B2EB2
#6B2EB2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.195 H 299.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2EB2 |
|---|---|
| RGB | rgb(107, 46, 178) |
| HSL | hsl(268, 59%, 44%) |
| HSV | hsv(268, 74%, 70%) |
| CMYK | cmyk(39.9%, 74.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.59, 52.60, -59.42) |
| CIE-LCH | lch(34.59, 79.35, 311.51°) |
| OKLab | oklab(45.97% 0.0964 -0.1697) |
| OKLCH | oklch(45.97% 0.195 299.6) |
| XYZ | xyz(15.0743, 8.2940, 42.9176) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.04
Purple Blue
#5D21D0
ΔE00 4.94
Bluey Purple
#6241C7
ΔE00 5.62
Blurple
#5539CC
ΔE00 5.81
Blue With A Hint Of Purple
#533CC6
ΔE00 5.95
Purple (survey)
#7E1E9C
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2EB2 #75B22E
analogous
#2E33B2 #6B2EB2 #AD2EB2
triadic
#6B2EB2 #B26B2E #2EB26B
tetradic
#6B2EB2 #B22E33 #75B22E #2EB2AD
square
#6B2EB2 #B22E33 #75B22E #2EB2AD
split-complementary
#6B2EB2 #B2AD2E #33B22E
monochromatic
#311551 #4E2181 #6B2EB2 #8A4CD1 #AA7DDD
Accessibility & contrast
On white
7.90
#6B2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#6B2EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2EB2
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2EB2 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#5A506E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6b2eb2; /* rgb */ color: rgb(107, 46, 178); /* oklch */ color: oklch(46.0% 0.195 299.6);
Tailwind
colors: {
custom: {
50: '#9c6dca',
500: '#6b2eb2',
950: '#000000',
},
}SCSS
$custom: #6b2eb2; $custom-light: #9c6dca; $custom-dark: #000000;
JSON
{
"hex": "#6b2eb2",
"rgb": {
"r": 107,
"g": 46,
"b": 178
},
"hsl": {
"h": 267.727,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.45971,
"c": 0.19523,
"h": 299.6
},
"luminance": 0.08294
}Semantic roles & 50–950 ramp
primary
#6B2EB2
secondary
#A1C676
accent
#E2469A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82