#6D2EB2#6D2EB2
#6D2EB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.196 H 300.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6D2EB2 |
|---|---|
| RGB | rgb(109, 46, 178) |
| HSL | hsl(269, 59%, 44%) |
| HSV | hsv(269, 74%, 70%) |
| CMYK | cmyk(38.8%, 74.2%, 0%, 30.2%) |
| CIE-LAB | lab(34.84, 52.95, -59.00) |
| CIE-LCH | lch(34.84, 79.27, 311.91°) |
| OKLab | oklab(46.21% 0.0993 -0.1684) |
| OKLCH | oklch(46.21% 0.196 300.5) |
| XYZ | xyz(15.3176, 8.4194, 42.9290) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.04
Purple Blue
#5D21D0
ΔE00 5.15
Bluey Purple
#6241C7
ΔE00 5.73
Purple (survey)
#7E1E9C
ΔE00 5.76
Blurple
#5539CC
ΔE00 6.03
Blue With A Hint Of Purple
#533CC6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D2EB2 #73B22E
analogous
#2E31B2 #6D2EB2 #AF2EB2
triadic
#6D2EB2 #B26D2E #2EB26D
tetradic
#6D2EB2 #B22E31 #73B22E #2EB2AF
square
#6D2EB2 #B22E31 #73B22E #2EB2AF
split-complementary
#6D2EB2 #B2AF2E #31B22E
monochromatic
#311551 #4F2181 #6D2EB2 #8C4CD1 #AB7DDD
Accessibility & contrast
On white
7.82
#6D2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#6D2EB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D2EB2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D2EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D2EB2 | 1.00 | 7.82 | 2.68 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5D4F6E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6d2eb2; /* rgb */ color: rgb(109, 46, 178); /* oklch */ color: oklch(46.2% 0.196 300.5);
Tailwind
colors: {
custom: {
50: '#9d6dca',
500: '#6d2eb2',
950: '#000000',
},
}SCSS
$custom: #6d2eb2; $custom-light: #9d6dca; $custom-dark: #000000;
JSON
{
"hex": "#6d2eb2",
"rgb": {
"r": 109,
"g": 46,
"b": 178
},
"hsl": {
"h": 268.636,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.46205,
"c": 0.19553,
"h": 300.5
},
"luminance": 0.0842
}Semantic roles & 50–950 ramp
primary
#6D2EB2
secondary
#A0C676
accent
#E24697
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82