#6A219A#6A219A
#6A219A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.184 H 307.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6A219A |
|---|---|
| RGB | rgb(106, 33, 154) |
| HSL | hsl(276, 65%, 37%) |
| HSV | hsv(276, 79%, 60%) |
| CMYK | cmyk(31.2%, 78.6%, 0%, 39.6%) |
| CIE-LAB | lab(30.60, 52.15, -51.46) |
| CIE-LCH | lch(30.60, 73.27, 315.39°) |
| OKLab | oklab(42.54% 0.1123 -0.1463) |
| OKLCH | oklch(42.54% 0.184 307.5) |
| XYZ | xyz(12.3192, 6.4851, 31.1684) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.46
Purple (survey)
#7E1E9C
ΔE00 3.78
Indigo
#4B0082
ΔE00 7.50
Purple
#800080
ΔE00 7.61
Darkmagenta
#8B008B
ΔE00 7.76
Violet Blue
#510AC9
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A219A #519A21
analogous
#2D219A #6A219A #9A218E
triadic
#6A219A #9A6A21 #219A6A
tetradic
#6A219A #9A2D21 #519A21 #218E9A
square
#6A219A #9A2D21 #519A21 #218E9A
split-complementary
#6A219A #8E9A21 #219A2D
monochromatic
#250B35 #471668 #6A219A #8D2CCC #A85ADC
Accessibility & contrast
On white
9.14
#6A219A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6A219A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A219A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A219A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A219A | 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)
#00469D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a219a; /* rgb */ color: rgb(106, 33, 154); /* oklch */ color: oklch(42.5% 0.184 307.5);
Tailwind
colors: {
custom: {
50: '#9a65b9',
500: '#6a219a',
950: '#000000',
},
}SCSS
$custom: #6a219a; $custom-light: #9a65b9; $custom-dark: #000000;
JSON
{
"hex": "#6a219a",
"rgb": {
"r": 106,
"g": 33,
"b": 154
},
"hsl": {
"h": 276.198,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.42535,
"c": 0.18442,
"h": 307.5
},
"luminance": 0.06485
}Semantic roles & 50–950 ramp
primary
#6A219A
secondary
#81C057
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80