#6A209A#6A209A
#6A209A is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.185 H 307.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #6A209A |
|---|---|
| RGB | rgb(106, 32, 154) |
| HSL | hsl(276, 66%, 36%) |
| HSV | hsv(276, 79%, 60%) |
| CMYK | cmyk(31.2%, 79.2%, 0%, 39.6%) |
| CIE-LAB | lab(30.47, 52.53, -51.67) |
| CIE-LCH | lch(30.47, 73.69, 315.47°) |
| OKLab | oklab(42.44% 0.1132 -0.1469) |
| OKLCH | oklch(42.44% 0.185 307.6) |
| XYZ | xyz(12.2919, 6.4305, 31.1592) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.60
Purple (survey)
#7E1E9C
ΔE00 3.80
Indigo
#4B0082
ΔE00 7.40
Purple
#800080
ΔE00 7.57
Darkmagenta
#8B008B
ΔE00 7.74
Violet Blue
#510AC9
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A209A #509A20
analogous
#2D209A #6A209A #9A208D
triadic
#6A209A #9A6A20 #209A6A
tetradic
#6A209A #9A2D20 #509A20 #208D9A
square
#6A209A #9A2D20 #509A20 #208D9A
split-complementary
#6A209A #8D9A20 #209A2D
monochromatic
#240B35 #471567 #6A209A #8D2BCD #A858DC
Accessibility & contrast
On white
9.19
#6A209A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6A209A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A209A
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A209A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A209A | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#623F5D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a209a; /* rgb */ color: rgb(106, 32, 154); /* oklch */ color: oklch(42.4% 0.185 307.6);
Tailwind
colors: {
custom: {
50: '#9a65b9',
500: '#6a209a',
950: '#000000',
},
}SCSS
$custom: #6a209a; $custom-light: #9a65b9; $custom-dark: #000000;
JSON
{
"hex": "#6a209a",
"rgb": {
"r": 106,
"g": 32,
"b": 154
},
"hsl": {
"h": 276.393,
"s": 65.591,
"l": 36.471
},
"oklch": {
"l": 0.42443,
"c": 0.18543,
"h": 307.6
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#6A209A
secondary
#80C056
accent
#E93F82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80