#6A219F#6A219F
#6A219F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.189 H 305.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6A219F |
|---|---|
| RGB | rgb(106, 33, 159) |
| HSL | hsl(275, 66%, 38%) |
| HSV | hsv(275, 79%, 62%) |
| CMYK | cmyk(33.3%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(31.01, 53.29, -53.84) |
| CIE-LCH | lch(31.01, 75.76, 314.70°) |
| OKLab | oklab(42.94% 0.1111 -0.1533) |
| OKLCH | oklch(42.94% 0.189 305.9) |
| XYZ | xyz(12.7443, 6.6552, 33.4074) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.51
Purple (survey)
#7E1E9C
ΔE00 4.03
Purple Blue
#5D21D0
ΔE00 7.38
Violet Blue
#510AC9
ΔE00 7.42
Indigo
#4B0082
ΔE00 7.78
Indigo Blue
#3A18B1
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A219F #569F21
analogous
#2B219F #6A219F #9F2195
triadic
#6A219F #9F6A21 #219F6A
tetradic
#6A219F #9F2B21 #569F21 #21959F
square
#6A219F #9F2B21 #569F21 #21959F
split-complementary
#6A219F #959F21 #219F2B
monochromatic
#260C3A #48166C #6A219F #8C2CD2 #A75DDD
Accessibility & contrast
On white
9.01
#6A219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6A219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A219F
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A219F | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#604260
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a219f; /* rgb */ color: rgb(106, 33, 159); /* oklch */ color: oklch(42.9% 0.189 305.9);
Tailwind
colors: {
custom: {
50: '#9a65bc',
500: '#6a219f',
950: '#000000',
},
}SCSS
$custom: #6a219f; $custom-light: #9a65bc; $custom-dark: #000000;
JSON
{
"hex": "#6a219f",
"rgb": {
"r": 106,
"g": 33,
"b": 159
},
"hsl": {
"h": 274.762,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.42944,
"c": 0.18931,
"h": 305.9
},
"luminance": 0.06655
}Semantic roles & 50–950 ramp
primary
#6A219F
secondary
#86C25A
accent
#E93F86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81