#6A2593#6A2593
#6A2593 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 309.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2593 |
|---|---|
| RGB | rgb(106, 37, 147) |
| HSL | hsl(278, 60%, 36%) |
| HSV | hsv(278, 75%, 58%) |
| CMYK | cmyk(27.9%, 74.8%, 0%, 42.4%) |
| CIE-LAB | lab(30.63, 48.95, -47.13) |
| CIE-LCH | lch(30.63, 67.96, 316.08°) |
| OKLab | oklab(42.38% 0.11 -0.1336) |
| OKLCH | oklch(42.38% 0.173 309.5) |
| XYZ | xyz(11.8708, 6.4941, 28.2262) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.12
Purple (survey)
#7E1E9C
ΔE00 3.68
Purple
#800080
ΔE00 6.96
Darkmagenta
#8B008B
ΔE00 7.28
Darkish Purple
#751973
ΔE00 7.53
Indigo
#4B0082
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2593 #4E9325
analogous
#332593 #6A2593 #932585
triadic
#6A2593 #936A25 #25936A
tetradic
#6A2593 #933325 #4E9325 #258593
square
#6A2593 #933325 #4E9325 #258593
split-complementary
#6A2593 #859325 #259333
monochromatic
#230C31 #471962 #6A2593 #8D31C4 #A95CD6
Accessibility & contrast
On white
9.14
#6A2593 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6A2593 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2593
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2593 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2593 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#084991
Tritanopia (blue-blind)
#643F5A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a2593; /* rgb */ color: rgb(106, 37, 147); /* oklch */ color: oklch(42.4% 0.173 309.5);
Tailwind
colors: {
custom: {
50: '#9967b3',
500: '#6a2593',
950: '#000000',
},
}SCSS
$custom: #6a2593; $custom-light: #9967b3; $custom-dark: #000000;
JSON
{
"hex": "#6a2593",
"rgb": {
"r": 106,
"g": 37,
"b": 147
},
"hsl": {
"h": 277.636,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.4238,
"c": 0.17304,
"h": 309.5
},
"luminance": 0.06494
}Semantic roles & 50–950 ramp
primary
#6A2593
secondary
#7DBB59
accent
#E34580
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80