#6A1EA7#6A1EA7
#6A1EA7 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.4% C 0.200 H 303.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1EA7 |
|---|---|
| RGB | rgb(106, 30, 167) |
| HSL | hsl(273, 70%, 39%) |
| HSV | hsv(273, 82%, 65%) |
| CMYK | cmyk(36.5%, 82%, 0%, 34.5%) |
| CIE-LAB | lab(31.31, 56.20, -58.20) |
| CIE-LCH | lch(31.31, 80.90, 314.00°) |
| OKLab | oklab(43.36% 0.1112 -0.1661) |
| OKLCH | oklch(43.36% 0.2 303.8) |
| XYZ | xyz(13.3815, 6.7828, 37.1560) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Purple (survey)
#7E1E9C
ΔE00 4.68
Purple Blue
#5D21D0
ΔE00 6.19
Violet Blue
#510AC9
ΔE00 6.26
Indigo Blue
#3A18B1
ΔE00 7.39
Indigo
#4B0082
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1EA7 #5BA71E
analogous
#261EA7 #6A1EA7 #A71E9F
triadic
#6A1EA7 #A76A1E #1EA76A
tetradic
#6A1EA7 #A7261E #5BA71E #1E9FA7
square
#6A1EA7 #A7261E #5BA71E #1E9FA7
split-complementary
#6A1EA7 #9FA71E #1EA726
monochromatic
#280B3F #491573 #6A1EA7 #8B2AD9 #A75DE2
Accessibility & contrast
On white
8.91
#6A1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6A1EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1EA7
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1EA7 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#5E4464
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a1ea7; /* rgb */ color: rgb(106, 30, 167); /* oklch */ color: oklch(43.4% 0.200 303.8);
Tailwind
colors: {
custom: {
50: '#9b65c2',
500: '#6a1ea7',
950: '#000000',
},
}SCSS
$custom: #6a1ea7; $custom-light: #9b65c2; $custom-dark: #000000;
JSON
{
"hex": "#6a1ea7",
"rgb": {
"r": 106,
"g": 30,
"b": 167
},
"hsl": {
"h": 273.285,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.4336,
"c": 0.19986,
"h": 303.8
},
"luminance": 0.06783
}Semantic roles & 50–950 ramp
primary
#6A1EA7
secondary
#8BC65B
accent
#EC3B8A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81