#6A2DBA#6A2DBA
#6A2DBA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.205 H 297.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2DBA |
|---|---|
| RGB | rgb(106, 45, 186) |
| HSL | hsl(266, 61%, 45%) |
| HSV | hsv(266, 76%, 73%) |
| CMYK | cmyk(43%, 75.8%, 0%, 27.1%) |
| CIE-LAB | lab(34.97, 54.87, -63.53) |
| CIE-LCH | lch(34.97, 83.95, 310.82°) |
| OKLab | oklab(46.42% 0.094 -0.1818) |
| OKLCH | oklch(46.42% 0.205 297.3) |
| XYZ | xyz(15.7429, 8.4858, 47.2533) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.85
Blurple
#5539CC
ΔE00 4.91
Bluey Purple
#6241C7
ΔE00 4.98
Rebeccapurple
#663399
ΔE00 5.19
Blue With A Hint Of Purple
#533CC6
ΔE00 5.22
Burple
#6832E3
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2DBA #7DBA2D
analogous
#2D37BA #6A2DBA #B02DBA
triadic
#6A2DBA #BA6A2D #2DBA6A
tetradic
#6A2DBA #BA2D37 #7DBA2D #2DBAB0
square
#6A2DBA #BA2D37 #7DBA2D #2DBAB0
split-complementary
#6A2DBA #BAB02D #37BA2D
monochromatic
#321557 #4E2189 #6A2DBA #8950D5 #AA81E0
Accessibility & contrast
On white
7.79
#6A2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#6A2DBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2DBA
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2DBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2DBA | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#555372
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #6a2dba; /* rgb */ color: rgb(106, 45, 186); /* oklch */ color: oklch(46.4% 0.205 297.3);
Tailwind
colors: {
custom: {
50: '#9c6cd0',
500: '#6a2dba',
950: '#000000',
},
}SCSS
$custom: #6a2dba; $custom-light: #9c6cd0; $custom-dark: #000000;
JSON
{
"hex": "#6a2dba",
"rgb": {
"r": 106,
"g": 45,
"b": 186
},
"hsl": {
"h": 265.957,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.46422,
"c": 0.20468,
"h": 297.3
},
"luminance": 0.08486
}Semantic roles & 50–950 ramp
primary
#6A2DBA
secondary
#A7C979
accent
#E4449F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82