#6A1FAA#6A1FAA
#6A1FAA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.7% C 0.202 H 302.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1FAA |
|---|---|
| RGB | rgb(106, 31, 170) |
| HSL | hsl(272, 69%, 39%) |
| HSV | hsv(272, 82%, 67%) |
| CMYK | cmyk(37.6%, 81.8%, 0%, 33.3%) |
| CIE-LAB | lab(31.68, 56.54, -59.39) |
| CIE-LCH | lch(31.68, 82.00, 313.60°) |
| OKLab | oklab(43.7% 0.1096 -0.1696) |
| OKLCH | oklch(43.7% 0.202 302.9) |
| XYZ | xyz(13.6878, 6.9464, 38.6421) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.38
Purple (survey)
#7E1E9C
ΔE00 4.93
Purple Blue
#5D21D0
ΔE00 5.73
Violet Blue
#510AC9
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 7.26
Blurple
#5539CC
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1FAA #5FAA1F
analogous
#251FAA #6A1FAA #AA1FA5
triadic
#6A1FAA #AA6A1F #1FAA6A
tetradic
#6A1FAA #AA251F #5FAA1F #1FA5AA
square
#6A1FAA #AA251F #5FAA1F #1FA5AA
split-complementary
#6A1FAA #A5AA1F #1FAA25
monochromatic
#290C42 #4A1676 #6A1FAA #8A2DD9 #A761E2
Accessibility & contrast
On white
8.79
#6A1FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#6A1FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1FAA
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1FAA | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5C4666
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6a1faa; /* rgb */ color: rgb(106, 31, 170); /* oklch */ color: oklch(43.7% 0.202 302.9);
Tailwind
colors: {
custom: {
50: '#9b65c4',
500: '#6a1faa',
950: '#000000',
},
}SCSS
$custom: #6a1faa; $custom-light: #9b65c4; $custom-dark: #000000;
JSON
{
"hex": "#6a1faa",
"rgb": {
"r": 106,
"g": 31,
"b": 170
},
"hsl": {
"h": 272.374,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.43702,
"c": 0.20188,
"h": 302.9
},
"luminance": 0.06946
}Semantic roles & 50–950 ramp
primary
#6A1FAA
secondary
#8EC75E
accent
#EC3C8D
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82