#6A1D63#6A1D63
#6A1D63 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.138 H 331.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1D63 |
|---|---|
| RGB | rgb(106, 29, 99) |
| HSL | hsl(305, 57%, 26%) |
| HSV | hsv(305, 73%, 42%) |
| CMYK | cmyk(0%, 72.6%, 6.6%, 58.4%) |
| CIE-LAB | lab(26.29, 42.51, -23.73) |
| CIE-LCH | lch(26.29, 48.68, 330.83°) |
| OKLab | oklab(38.27% 0.1217 -0.0652) |
| OKLCH | oklch(38.27% 0.138 331.8) |
| XYZ | xyz(8.6354, 4.8444, 12.2822) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.41
Grape Purple
#5D1451
ΔE00 3.92
Rich Purple
#720058
ΔE00 4.20
Grape
#6C3461
ΔE00 5.86
Velvet
#750851
ΔE00 6.03
Purple
#800080
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1D63 #1D6A24
analogous
#4B1D6A #6A1D63 #6A1D3D
triadic
#6A1D63 #636A1D #1D636A
tetradic
#6A1D63 #6A4B1D #1D6A24 #1D3D6A
square
#6A1D63 #6A4B1D #1D6A24 #1D3D6A
split-complementary
#6A1D63 #3D6A1D #1D6A4B
monochromatic
#180716 #3A1036 #6A1D63 #9A2A90 #C939BC
Accessibility & contrast
On white
10.67
#6A1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#6A1D63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1D63
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1D63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1D63 | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183765
Deuteranopia (green-blind)
#354261
Tritanopia (blue-blind)
#6F253D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #6a1d63; /* rgb */ color: rgb(106, 29, 99); /* oklch */ color: oklch(38.3% 0.138 331.8);
Tailwind
colors: {
custom: {
50: '#97618f',
500: '#6a1d63',
950: '#000000',
},
}SCSS
$custom: #6a1d63; $custom-light: #97618f; $custom-dark: #000000;
JSON
{
"hex": "#6a1d63",
"rgb": {
"r": 106,
"g": 29,
"b": 99
},
"hsl": {
"h": 305.455,
"s": 57.037,
"l": 26.471
},
"oklch": {
"l": 0.38266,
"c": 0.13805,
"h": 331.8
},
"luminance": 0.04844
}Semantic roles & 50–950 ramp
primary
#6A1D63
secondary
#449F4C
accent
#E05548
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D