#6A218F#6A218F
#6A218F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.174 H 311.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6A218F |
|---|---|
| RGB | rgb(106, 33, 143) |
| HSL | hsl(280, 63%, 35%) |
| HSV | hsv(280, 77%, 56%) |
| CMYK | cmyk(25.9%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.75, 49.70, -46.09) |
| CIE-LCH | lch(29.75, 67.78, 317.16°) |
| OKLab | oklab(41.67% 0.1146 -0.1305) |
| OKLCH | oklch(41.67% 0.174 311.3) |
| XYZ | xyz(11.4447, 6.1353, 26.5626) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.79
Rebeccapurple
#663399
ΔE00 4.00
Purple
#800080
ΔE00 6.27
Darkish Purple
#751973
ΔE00 6.82
Darkmagenta
#8B008B
ΔE00 6.84
Indigo
#4B0082
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A218F #468F21
analogous
#33218F #6A218F #8F217D
triadic
#6A218F #8F6A21 #218F6A
tetradic
#6A218F #8F3321 #468F21 #217D8F
square
#6A218F #8F3321 #468F21 #217D8F
split-complementary
#6A218F #7D8F21 #218F33
monochromatic
#200A2C #45165D #6A218F #8F2CC1 #AB53D7
Accessibility & contrast
On white
9.43
#6A218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6A218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A218F
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A218F | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#653B57
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a218f; /* rgb */ color: rgb(106, 33, 143); /* oklch */ color: oklch(41.7% 0.174 311.3);
Tailwind
colors: {
custom: {
50: '#9965b0',
500: '#6a218f',
950: '#000000',
},
}SCSS
$custom: #6a218f; $custom-light: #9965b0; $custom-dark: #000000;
JSON
{
"hex": "#6a218f",
"rgb": {
"r": 106,
"g": 33,
"b": 143
},
"hsl": {
"h": 279.818,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.41666,
"c": 0.17367,
"h": 311.3
},
"luminance": 0.06135
}Semantic roles & 50–950 ramp
primary
#6A218F
secondary
#75BB51
accent
#E64279
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80