#6A1D99#6A1D99
#6A1D99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.187 H 308.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1D99 |
|---|---|
| RGB | rgb(106, 29, 153) |
| HSL | hsl(277, 68%, 36%) |
| HSV | hsv(277, 81%, 60%) |
| CMYK | cmyk(30.7%, 81%, 0%, 40%) |
| CIE-LAB | lab(30.02, 53.40, -51.80) |
| CIE-LCH | lch(30.02, 74.39, 315.87°) |
| OKLab | oklab(42.1% 0.1159 -0.1473) |
| OKLCH | oklch(42.1% 0.187 308.2) |
| XYZ | xyz(12.1318, 6.2430, 30.6967) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.85
Rebeccapurple
#663399
ΔE00 4.03
Indigo
#4B0082
ΔE00 7.09
Purple
#800080
ΔE00 7.35
Darkmagenta
#8B008B
ΔE00 7.60
Violet Blue
#510AC9
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1D99 #4C991D
analogous
#2C1D99 #6A1D99 #991D8A
triadic
#6A1D99 #996A1D #1D996A
tetradic
#6A1D99 #992C1D #4C991D #1D8A99
square
#6A1D99 #992C1D #4C991D #1D8A99
split-complementary
#6A1D99 #8A991D #1D992C
monochromatic
#230932 #461366 #6A1D99 #8E27CC #A952DE
Accessibility & contrast
On white
9.34
#6A1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6A1D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1D99
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1D99 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#623D5C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6a1d99; /* rgb */ color: rgb(106, 29, 153); /* oklch */ color: oklch(42.1% 0.187 308.2);
Tailwind
colors: {
custom: {
50: '#9a63b8',
500: '#6a1d99',
950: '#000000',
},
}SCSS
$custom: #6a1d99; $custom-light: #9a63b8; $custom-dark: #000000;
JSON
{
"hex": "#6a1d99",
"rgb": {
"r": 106,
"g": 29,
"b": 153
},
"hsl": {
"h": 277.258,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.42098,
"c": 0.18739,
"h": 308.2
},
"luminance": 0.06243
}Semantic roles & 50–950 ramp
primary
#6A1D99
secondary
#7BC151
accent
#EB3D7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80