#6A1E9F#6A1E9F
#6A1E9F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.192 H 306.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1E9F |
|---|---|
| RGB | rgb(106, 30, 159) |
| HSL | hsl(275, 68%, 37%) |
| HSV | hsv(275, 81%, 62%) |
| CMYK | cmyk(33.3%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(30.63, 54.39, -54.46) |
| CIE-LCH | lch(30.63, 76.97, 314.96°) |
| OKLab | oklab(42.68% 0.1135 -0.1551) |
| OKLCH | oklch(42.68% 0.192 306.2) |
| XYZ | xyz(12.6648, 6.4960, 33.3808) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.92
Purple (survey)
#7E1E9C
ΔE00 4.09
Violet Blue
#510AC9
ΔE00 7.30
Purple Blue
#5D21D0
ΔE00 7.42
Indigo
#4B0082
ΔE00 7.51
Indigo Blue
#3A18B1
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1E9F #539F1E
analogous
#2A1E9F #6A1E9F #9F1E94
triadic
#6A1E9F #9F6A1E #1E9F6A
tetradic
#6A1E9F #9F2A1E #539F1E #1E949F
square
#6A1E9F #9F2A1E #539F1E #1E949F
split-complementary
#6A1E9F #949F1E #1E9F2A
monochromatic
#250B38 #48146C #6A1E9F #8C28D2 #A858DF
Accessibility & contrast
On white
9.13
#6A1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6A1E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1E9F
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1E9F | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#60405F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6a1e9f; /* rgb */ color: rgb(106, 30, 159); /* oklch */ color: oklch(42.7% 0.192 306.2);
Tailwind
colors: {
custom: {
50: '#9a64bc',
500: '#6a1e9f',
950: '#000000',
},
}SCSS
$custom: #6a1e9f; $custom-light: #9a64bc; $custom-dark: #000000;
JSON
{
"hex": "#6a1e9f",
"rgb": {
"r": 106,
"g": 30,
"b": 159
},
"hsl": {
"h": 275.349,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.4268,
"c": 0.19218,
"h": 306.2
},
"luminance": 0.06496
}Semantic roles & 50–950 ramp
primary
#6A1E9F
secondary
#83C356
accent
#EB3D84
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81