#6A2DA1#6A2DA1
#6A2DA1 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.178 H 303.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2DA1 |
|---|---|
| RGB | rgb(106, 45, 161) |
| HSL | hsl(272, 56%, 40%) |
| HSV | hsv(272, 72%, 63%) |
| CMYK | cmyk(34.2%, 72%, 0%, 36.9%) |
| CIE-LAB | lab(32.95, 48.68, -51.90) |
| CIE-LCH | lch(32.95, 71.16, 313.17°) |
| OKLab | oklab(44.36% 0.0994 -0.1477) |
| OKLCH | oklch(44.36% 0.178 303.9) |
| XYZ | xyz(13.3138, 7.5142, 34.4603) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.87
Purple (survey)
#7E1E9C
ΔE00 4.51
Purple Blue
#5D21D0
ΔE00 7.23
Bluey Purple
#6241C7
ΔE00 7.75
Blue With A Hint Of Purple
#533CC6
ΔE00 7.99
Violet Blue
#510AC9
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2DA1 #64A12D
analogous
#302DA1 #6A2DA1 #A12D9E
triadic
#6A2DA1 #A16A2D #2DA16A
tetradic
#6A2DA1 #A1302D #64A12D #2D9EA1
square
#6A2DA1 #A1302D #64A12D #2D9EA1
split-complementary
#6A2DA1 #9EA12D #2DA130
monochromatic
#2B1241 #4B2071 #6A2DA1 #8941CA #A771D7
Accessibility & contrast
On white
8.39
#6A2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#6A2DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2DA1
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2DA1 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#5F4964
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #6a2da1; /* rgb */ color: rgb(106, 45, 161); /* oklch */ color: oklch(44.4% 0.178 303.9);
Tailwind
colors: {
custom: {
50: '#996bbe',
500: '#6a2da1',
950: '#000000',
},
}SCSS
$custom: #6a2da1; $custom-light: #996bbe; $custom-dark: #000000;
JSON
{
"hex": "#6a2da1",
"rgb": {
"r": 106,
"g": 45,
"b": 161
},
"hsl": {
"h": 271.552,
"s": 56.311,
"l": 40.392
},
"oklch": {
"l": 0.44362,
"c": 0.17799,
"h": 303.9
},
"luminance": 0.07514
}Semantic roles & 50–950 ramp
primary
#6A2DA1
secondary
#93BF6B
accent
#E04890
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81