#6A299C#6A299C
#6A299C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 306.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6A299C |
|---|---|
| RGB | rgb(106, 41, 156) |
| HSL | hsl(274, 58%, 39%) |
| HSV | hsv(274, 74%, 61%) |
| CMYK | cmyk(32.1%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(31.92, 49.30, -50.54) |
| CIE-LCH | lch(31.92, 70.60, 314.29°) |
| OKLab | oklab(43.51% 0.1044 -0.1436) |
| OKLCH | oklch(43.51% 0.178 306) |
| XYZ | xyz(12.7362, 7.0505, 32.1360) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.19
Purple (survey)
#7E1E9C
ΔE00 3.97
Purple Blue
#5D21D0
ΔE00 7.91
Darkmagenta
#8B008B
ΔE00 8.27
Purple
#800080
ΔE00 8.32
Violet Blue
#510AC9
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A299C #5B9C29
analogous
#30299C #6A299C #9C2994
triadic
#6A299C #9C6A29 #299C6A
tetradic
#6A299C #9C3029 #5B9C29 #29949C
square
#6A299C #9C3029 #5B9C29 #29949C
split-complementary
#6A299C #949C29 #299C30
monochromatic
#28103B #491C6C #6A299C #8B38CB #A768D7
Accessibility & contrast
On white
8.71
#6A299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#6A299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A299C
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A299C | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#614460
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6a299c; /* rgb */ color: rgb(106, 41, 156); /* oklch */ color: oklch(43.5% 0.178 306.0);
Tailwind
colors: {
custom: {
50: '#9969ba',
500: '#6a299c',
950: '#000000',
},
}SCSS
$custom: #6a299c; $custom-light: #9969ba; $custom-dark: #000000;
JSON
{
"hex": "#6a299c",
"rgb": {
"r": 106,
"g": 41,
"b": 156
},
"hsl": {
"h": 273.913,
"s": 58.376,
"l": 38.627
},
"oklch": {
"l": 0.43512,
"c": 0.17753,
"h": 306
},
"luminance": 0.0705
}Semantic roles & 50–950 ramp
primary
#6A299C
secondary
#8BBE63
accent
#E2468A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81