#831A6E#831A6E
#831A6E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.165 H 337.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #831A6E |
|---|---|
| RGB | rgb(131, 26, 110) |
| HSL | hsl(312, 67%, 31%) |
| HSV | hsv(312, 80%, 51%) |
| CMYK | cmyk(0%, 80.2%, 16%, 48.6%) |
| CIE-LAB | lab(31.09, 51.58, -22.96) |
| CIE-LCH | lch(31.09, 56.46, 336.00°) |
| OKLab | oklab(42.79% 0.1527 -0.0624) |
| OKLCH | oklch(42.79% 0.165 337.8) |
| XYZ | xyz(12.5442, 6.6911, 15.3797) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.94
Purple
#800080
ΔE00 5.17
Rich Purple
#720058
ΔE00 5.18
Darkmagenta
#8B008B
ΔE00 5.94
Velvet
#750851
ΔE00 6.08
Red Violet
#9E0168
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831A6E #1A832F
analogous
#631A83 #831A6E #831A39
triadic
#831A6E #6E831A #1A6E83
tetradic
#831A6E #83631A #1A832F #1A3983
square
#831A6E #83631A #1A832F #1A3983
split-complementary
#831A6E #39831A #1A8363
monochromatic
#1D0618 #501043 #831A6E #B62499 #D93FBA
Accessibility & contrast
On white
8.98
#831A6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#831A6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831A6E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831A6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831A6E | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#8B2143
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #831a6e; /* rgb */ color: rgb(131, 26, 110); /* oklch */ color: oklch(42.8% 0.165 337.8);
Tailwind
colors: {
custom: {
50: '#ab6498',
500: '#831a6e',
950: '#000000',
},
}SCSS
$custom: #831a6e; $custom-light: #ab6498; $custom-dark: #000000;
JSON
{
"hex": "#831a6e",
"rgb": {
"r": 131,
"g": 26,
"b": 110
},
"hsl": {
"h": 312,
"s": 66.879,
"l": 30.784
},
"oklch": {
"l": 0.4279,
"c": 0.16492,
"h": 337.8
},
"luminance": 0.0669
}Semantic roles & 50–950 ramp
primary
#831A6E
secondary
#42B759
accent
#EA603E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060D
muted
#7F7A7E