#6A299E#6A299E
#6A299E is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.180 H 305.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6A299E |
|---|---|
| RGB | rgb(106, 41, 158) |
| HSL | hsl(273, 59%, 39%) |
| HSV | hsv(273, 74%, 62%) |
| CMYK | cmyk(32.9%, 74.1%, 0%, 38%) |
| CIE-LAB | lab(32.08, 49.78, -51.50) |
| CIE-LCH | lch(32.08, 71.62, 314.02°) |
| OKLab | oklab(43.67% 0.104 -0.1465) |
| OKLCH | oklch(43.67% 0.18 305.4) |
| XYZ | xyz(12.9070, 7.1188, 33.0352) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.25
Purple (survey)
#7E1E9C
ΔE00 4.08
Purple Blue
#5D21D0
ΔE00 7.58
Violet Blue
#510AC9
ΔE00 8.06
Darkmagenta
#8B008B
ΔE00 8.46
Purple
#800080
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A299E #5D9E29
analogous
#2F299E #6A299E #9E2998
triadic
#6A299E #9E6A29 #299E6A
tetradic
#6A299E #9E2F29 #5D9E29 #29989E
square
#6A299E #9E2F29 #5D9E29 #29989E
split-complementary
#6A299E #989E29 #299E2F
monochromatic
#29103D #491C6D #6A299E #8A39CC #A769D8
Accessibility & contrast
On white
8.66
#6A299E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#6A299E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A299E
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A299E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A299E | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#604561
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6a299e; /* rgb */ color: rgb(106, 41, 158); /* oklch */ color: oklch(43.7% 0.180 305.4);
Tailwind
colors: {
custom: {
50: '#9969bb',
500: '#6a299e',
950: '#000000',
},
}SCSS
$custom: #6a299e; $custom-light: #9969bb; $custom-dark: #000000;
JSON
{
"hex": "#6a299e",
"rgb": {
"r": 106,
"g": 41,
"b": 158
},
"hsl": {
"h": 273.333,
"s": 58.794,
"l": 39.02
},
"oklch": {
"l": 0.4367,
"c": 0.17961,
"h": 305.4
},
"luminance": 0.07119
}Semantic roles & 50–950 ramp
primary
#6A299E
secondary
#8CBF64
accent
#E2468B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81