#6B2DB6#6B2DB6
#6B2DB6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.201 H 298.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6B2DB6 |
|---|---|
| RGB | rgb(107, 45, 182) |
| HSL | hsl(267, 60%, 45%) |
| HSV | hsv(267, 75%, 71%) |
| CMYK | cmyk(41.2%, 75.3%, 0%, 28.6%) |
| CIE-LAB | lab(34.76, 54.04, -61.51) |
| CIE-LCH | lch(34.76, 81.88, 311.30°) |
| OKLab | oklab(46.2% 0.0964 -0.1759) |
| OKLCH | oklch(46.2% 0.201 298.7) |
| XYZ | xyz(15.4431, 8.3797, 45.0507) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.40
Rebeccapurple
#663399
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 5.37
Blurple
#5539CC
ΔE00 5.43
Blue With A Hint Of Purple
#533CC6
ΔE00 5.67
Violet Blue
#510AC9
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B2DB6 #78B62D
analogous
#2D34B6 #6B2DB6 #AF2DB6
triadic
#6B2DB6 #B66B2D #2DB66B
tetradic
#6B2DB6 #B62D34 #78B62D #2DB6AF
square
#6B2DB6 #B62D34 #78B62D #2DB6AF
split-complementary
#6B2DB6 #B6AF2D #34B62D
monochromatic
#311554 #4E2185 #6B2DB6 #8A4DD3 #AA7EDF
Accessibility & contrast
On white
7.85
#6B2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#6B2DB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B2DB6
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B2DB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B2DB6 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#595170
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6b2db6; /* rgb */ color: rgb(107, 45, 182); /* oklch */ color: oklch(46.2% 0.201 298.7);
Tailwind
colors: {
custom: {
50: '#9c6ccd',
500: '#6b2db6',
950: '#000000',
},
}SCSS
$custom: #6b2db6; $custom-light: #9c6ccd; $custom-dark: #000000;
JSON
{
"hex": "#6b2db6",
"rgb": {
"r": 107,
"g": 45,
"b": 182
},
"hsl": {
"h": 267.153,
"s": 60.352,
"l": 44.51
},
"oklch": {
"l": 0.46195,
"c": 0.20056,
"h": 298.7
},
"luminance": 0.0838
}Semantic roles & 50–950 ramp
primary
#6B2DB6
secondary
#A3C877
accent
#E3449B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82