#6A209C#6A209C
#6A209C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.187 H 307.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6A209C |
|---|---|
| RGB | rgb(106, 32, 156) |
| HSL | hsl(276, 66%, 37%) |
| HSV | hsv(276, 79%, 61%) |
| CMYK | cmyk(32.1%, 79.5%, 0%, 38.8%) |
| CIE-LAB | lab(30.63, 52.98, -52.63) |
| CIE-LCH | lch(30.63, 74.68, 315.19°) |
| OKLab | oklab(42.61% 0.1127 -0.1497) |
| OKLCH | oklch(42.61% 0.187 307) |
| XYZ | xyz(12.4598, 6.4976, 32.0438) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.60
Purple (survey)
#7E1E9C
ΔE00 3.88
Indigo
#4B0082
ΔE00 7.51
Violet Blue
#510AC9
ΔE00 7.80
Purple
#800080
ΔE00 7.82
Purple Blue
#5D21D0
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A209C #529C20
analogous
#2C209C #6A209C #9C2090
triadic
#6A209C #9C6A20 #209C6A
tetradic
#6A209C #9C2C20 #529C20 #20909C
square
#6A209C #9C2C20 #529C20 #20909C
split-complementary
#6A209C #909C20 #209C2C
monochromatic
#250B36 #471669 #6A209C #8D2ACF #A859DD
Accessibility & contrast
On white
9.13
#6A209C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6A209C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A209C
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A209C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A209C | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#61405E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a209c; /* rgb */ color: rgb(106, 32, 156); /* oklch */ color: oklch(42.6% 0.187 307.0);
Tailwind
colors: {
custom: {
50: '#9a65ba',
500: '#6a209c',
950: '#000000',
},
}SCSS
$custom: #6a209c; $custom-light: #9a65ba; $custom-dark: #000000;
JSON
{
"hex": "#6a209c",
"rgb": {
"r": 106,
"g": 32,
"b": 156
},
"hsl": {
"h": 275.806,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.42606,
"c": 0.18737,
"h": 307
},
"luminance": 0.06497
}Semantic roles & 50–950 ramp
primary
#6A209C
secondary
#82C157
accent
#E93F83
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81