#6A1FA9#6A1FA9
#6A1FA9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.201 H 303.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1FA9 |
|---|---|
| RGB | rgb(106, 31, 169) |
| HSL | hsl(273, 69%, 39%) |
| HSV | hsv(273, 82%, 66%) |
| CMYK | cmyk(37.3%, 81.7%, 0%, 33.7%) |
| CIE-LAB | lab(31.60, 56.31, -58.93) |
| CIE-LCH | lch(31.60, 81.51, 313.70°) |
| OKLab | oklab(43.61% 0.1099 -0.1682) |
| OKLCH | oklch(43.61% 0.201 303.2) |
| XYZ | xyz(13.5936, 6.9087, 38.1458) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.30
Purple (survey)
#7E1E9C
ΔE00 4.84
Purple Blue
#5D21D0
ΔE00 5.88
Violet Blue
#510AC9
ΔE00 6.07
Indigo Blue
#3A18B1
ΔE00 7.31
Blurple
#5539CC
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1FA9 #5EA91F
analogous
#251FA9 #6A1FA9 #A91FA3
triadic
#6A1FA9 #A96A1F #1FA96A
tetradic
#6A1FA9 #A9251F #5EA91F #1FA3A9
square
#6A1FA9 #A9251F #5EA91F #1FA3A9
split-complementary
#6A1FA9 #A3A91F #1FA925
monochromatic
#290C42 #4A1675 #6A1FA9 #8A2DD8 #A760E2
Accessibility & contrast
On white
8.82
#6A1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6A1FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1FA9
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1FA9 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#5D4565
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a1fa9; /* rgb */ color: rgb(106, 31, 169); /* oklch */ color: oklch(43.6% 0.201 303.2);
Tailwind
colors: {
custom: {
50: '#9b65c4',
500: '#6a1fa9',
950: '#000000',
},
}SCSS
$custom: #6a1fa9; $custom-light: #9b65c4; $custom-dark: #000000;
JSON
{
"hex": "#6a1fa9",
"rgb": {
"r": 106,
"g": 31,
"b": 169
},
"hsl": {
"h": 272.609,
"s": 69,
"l": 39.216
},
"oklch": {
"l": 0.43615,
"c": 0.20092,
"h": 303.2
},
"luminance": 0.06909
}Semantic roles & 50–950 ramp
primary
#6A1FA9
secondary
#8DC75D
accent
#EC3C8C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82