#6A2DB2#6A2DB2
#6A2DB2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.196 H 299.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2DB2 |
|---|---|
| RGB | rgb(106, 45, 178) |
| HSL | hsl(268, 60%, 44%) |
| HSV | hsv(268, 75%, 70%) |
| CMYK | cmyk(40.4%, 74.7%, 0%, 30.2%) |
| CIE-LAB | lab(34.30, 52.87, -59.89) |
| CIE-LCH | lch(34.30, 79.89, 311.44°) |
| OKLab | oklab(45.74% 0.0959 -0.1711) |
| OKLCH | oklch(45.74% 0.196 299.3) |
| XYZ | xyz(14.9161, 8.1551, 42.8991) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.09
Purple Blue
#5D21D0
ΔE00 4.79
Bluey Purple
#6241C7
ΔE00 5.71
Blurple
#5539CC
ΔE00 5.78
Blue With A Hint Of Purple
#533CC6
ΔE00 5.93
Purple (survey)
#7E1E9C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2DB2 #75B22D
analogous
#2D32B2 #6A2DB2 #AC2DB2
triadic
#6A2DB2 #B26A2D #2DB26A
tetradic
#6A2DB2 #B22D32 #75B22D #2DB2AC
square
#6A2DB2 #B22D32 #75B22D #2DB2AC
split-complementary
#6A2DB2 #B2AC2D #32B22D
monochromatic
#301450 #4D2181 #6A2DB2 #894BD1 #A97CDE
Accessibility & contrast
On white
7.98
#6A2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#6A2DB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2DB2
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2DB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2DB2 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#594F6D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #6a2db2; /* rgb */ color: rgb(106, 45, 178); /* oklch */ color: oklch(45.7% 0.196 299.3);
Tailwind
colors: {
custom: {
50: '#9b6cca',
500: '#6a2db2',
950: '#000000',
},
}SCSS
$custom: #6a2db2; $custom-light: #9b6cca; $custom-dark: #000000;
JSON
{
"hex": "#6a2db2",
"rgb": {
"r": 106,
"g": 45,
"b": 178
},
"hsl": {
"h": 267.519,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.45743,
"c": 0.19618,
"h": 299.3
},
"luminance": 0.08155
}Semantic roles & 50–950 ramp
primary
#6A2DB2
secondary
#A1C675
accent
#E3459A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82