#6A1E9E#6A1E9E
#6A1E9E is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 306.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1E9E |
|---|---|
| RGB | rgb(106, 30, 158) |
| HSL | hsl(276, 68%, 37%) |
| HSV | hsv(276, 81%, 62%) |
| CMYK | cmyk(32.9%, 81%, 0%, 38%) |
| CIE-LAB | lab(30.55, 54.16, -53.99) |
| CIE-LCH | lch(30.55, 76.47, 315.09°) |
| OKLab | oklab(42.6% 0.1138 -0.1537) |
| OKLCH | oklch(42.6% 0.191 306.5) |
| XYZ | xyz(12.5783, 6.4615, 32.9257) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.90
Purple (survey)
#7E1E9C
ΔE00 4.03
Violet Blue
#510AC9
ΔE00 7.44
Indigo
#4B0082
ΔE00 7.45
Purple Blue
#5D21D0
ΔE00 7.57
Purple
#800080
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1E9E #529E1E
analogous
#2A1E9E #6A1E9E #9E1E92
triadic
#6A1E9E #9E6A1E #1E9E6A
tetradic
#6A1E9E #9E2A1E #529E1E #1E929E
square
#6A1E9E #9E2A1E #529E1E #1E929E
split-complementary
#6A1E9E #929E1E #1E9E2A
monochromatic
#250A37 #47146B #6A1E9E #8D28D1 #A857DF
Accessibility & contrast
On white
9.16
#6A1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6A1E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1E9E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1E9E | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#61405F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a1e9e; /* rgb */ color: rgb(106, 30, 158); /* oklch */ color: oklch(42.6% 0.191 306.5);
Tailwind
colors: {
custom: {
50: '#9a64bc',
500: '#6a1e9e',
950: '#000000',
},
}SCSS
$custom: #6a1e9e; $custom-light: #9a64bc; $custom-dark: #000000;
JSON
{
"hex": "#6a1e9e",
"rgb": {
"r": 106,
"g": 30,
"b": 158
},
"hsl": {
"h": 275.625,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.42596,
"c": 0.19122,
"h": 306.5
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#6A1E9E
secondary
#82C355
accent
#EB3D84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81