#6A209B#6A209B
#6A209B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.186 H 307.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6A209B |
|---|---|
| RGB | rgb(106, 32, 155) |
| HSL | hsl(276, 66%, 37%) |
| HSV | hsv(276, 79%, 61%) |
| CMYK | cmyk(31.6%, 79.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.55, 52.76, -52.15) |
| CIE-LCH | lch(30.55, 74.18, 315.33°) |
| OKLab | oklab(42.52% 0.1129 -0.1483) |
| OKLCH | oklch(42.52% 0.186 307.3) |
| XYZ | xyz(12.3755, 6.4639, 31.5997) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.60
Purple (survey)
#7E1E9C
ΔE00 3.84
Indigo
#4B0082
ΔE00 7.45
Purple
#800080
ΔE00 7.70
Darkmagenta
#8B008B
ΔE00 7.83
Violet Blue
#510AC9
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A209B #519B20
analogous
#2D209B #6A209B #9B208F
triadic
#6A209B #9B6A20 #209B6A
tetradic
#6A209B #9B2D20 #519B20 #208F9B
square
#6A209B #9B2D20 #519B20 #208F9B
split-complementary
#6A209B #8F9B20 #209B2D
monochromatic
#250B36 #471668 #6A209B #8D2ACE #A859DD
Accessibility & contrast
On white
9.16
#6A209B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6A209B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A209B
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A209B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A209B | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a209b; /* rgb */ color: rgb(106, 32, 155); /* oklch */ color: oklch(42.5% 0.186 307.3);
Tailwind
colors: {
custom: {
50: '#9a65b9',
500: '#6a209b',
950: '#000000',
},
}SCSS
$custom: #6a209b; $custom-light: #9a65b9; $custom-dark: #000000;
JSON
{
"hex": "#6a209b",
"rgb": {
"r": 106,
"g": 32,
"b": 155
},
"hsl": {
"h": 276.098,
"s": 65.775,
"l": 36.667
},
"oklch": {
"l": 0.42524,
"c": 0.1864,
"h": 307.3
},
"luminance": 0.06464
}Semantic roles & 50–950 ramp
primary
#6A209B
secondary
#81C156
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81