#6A218D#6A218D
#6A218D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.172 H 312.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #6A218D |
|---|---|
| RGB | rgb(106, 33, 141) |
| HSL | hsl(281, 62%, 34%) |
| HSV | hsv(281, 77%, 55%) |
| CMYK | cmyk(24.8%, 76.6%, 0%, 44.7%) |
| CIE-LAB | lab(29.60, 49.26, -45.09) |
| CIE-LCH | lch(29.60, 66.78, 317.53°) |
| OKLab | oklab(41.51% 0.115 -0.1276) |
| OKLCH | oklch(41.51% 0.172 312) |
| XYZ | xyz(11.2945, 6.0753, 25.7718) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.89
Rebeccapurple
#663399
ΔE00 4.19
Purple
#800080
ΔE00 6.04
Darkish Purple
#751973
ΔE00 6.49
Darkmagenta
#8B008B
ΔE00 6.70
Indigo
#4B0082
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A218D #448D21
analogous
#34218D #6A218D #8D217A
triadic
#6A218D #8D6A21 #218D6A
tetradic
#6A218D #8D3421 #448D21 #217A8D
square
#6A218D #8D3421 #448D21 #217A8D
split-complementary
#6A218D #7A8D21 #218D34
monochromatic
#1F0A2A #45155B #6A218D #8F2DBF #AC52D6
Accessibility & contrast
On white
9.48
#6A218D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#6A218D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A218D
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A218D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A218D | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#10478B
Tritanopia (blue-blind)
#663A56
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a218d; /* rgb */ color: rgb(106, 33, 141); /* oklch */ color: oklch(41.5% 0.172 312.0);
Tailwind
colors: {
custom: {
50: '#9964af',
500: '#6a218d',
950: '#000000',
},
}SCSS
$custom: #6a218d; $custom-light: #9964af; $custom-dark: #000000;
JSON
{
"hex": "#6a218d",
"rgb": {
"r": 106,
"g": 33,
"b": 141
},
"hsl": {
"h": 280.556,
"s": 62.069,
"l": 34.118
},
"oklch": {
"l": 0.41513,
"c": 0.17172,
"h": 312
},
"luminance": 0.06075
}Semantic roles & 50–950 ramp
primary
#6A218D
secondary
#72BA50
accent
#E54377
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F