#A6339D#A6339D
#A6339D is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.191 H 331.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A6339D |
|---|---|
| RGB | rgb(166, 51, 157) |
| HSL | hsl(305, 53%, 43%) |
| HSV | hsv(305, 69%, 65%) |
| CMYK | cmyk(0%, 69.3%, 5.4%, 34.9%) |
| CIE-LAB | lab(42.63, 58.85, -33.49) |
| CIE-LCH | lch(42.63, 67.71, 330.35°) |
| OKLab | oklab(53.05% 0.1679 -0.0921) |
| OKLCH | oklch(53.05% 0.191 331.2) |
| XYZ | xyz(22.9955, 12.9107, 33.1726) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.61
Medium Purple
#9E43A2
ΔE00 3.04
Warm Purple
#952E8F
ΔE00 3.94
Barney
#AC1DB8
ΔE00 5.02
Barney Purple
#A00498
ΔE00 5.08
Purply
#983FB2
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6339D #33A63C
analogous
#7633A6 #A6339D #A63363
triadic
#A6339D #9DA633 #339DA6
tetradic
#A6339D #A67633 #33A63C #3363A6
square
#A6339D #A67633 #33A63C #3363A6
split-complementary
#A6339D #63A633 #33A676
monochromatic
#481644 #772571 #A6339D #C94EBF #D77CD0
Accessibility & contrast
On white
5.86
#A6339D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#A6339D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A6339D
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6339D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A6339D | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5AA0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#AD4064
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a6339d; /* rgb */ color: rgb(166, 51, 157); /* oklch */ color: oklch(53.1% 0.191 331.2);
Tailwind
colors: {
custom: {
50: '#c475ba',
500: '#a6339d',
950: '#000000',
},
}SCSS
$custom: #a6339d; $custom-light: #c475ba; $custom-dark: #000000;
JSON
{
"hex": "#a6339d",
"rgb": {
"r": 166,
"g": 51,
"b": 157
},
"hsl": {
"h": 304.696,
"s": 52.995,
"l": 42.549
},
"oklch": {
"l": 0.53053,
"c": 0.19149,
"h": 331.2
},
"luminance": 0.12909
}Semantic roles & 50–950 ramp
primary
#A6339D
secondary
#75C07B
accent
#DC574B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80