#831F56#831F56
#831F56 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 351.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #831F56 |
|---|---|
| RGB | rgb(131, 31, 86) |
| HSL | hsl(327, 62%, 32%) |
| HSV | hsv(327, 76%, 51%) |
| CMYK | cmyk(0%, 76.3%, 34.4%, 48.6%) |
| CIE-LAB | lab(30.59, 46.70, -8.21) |
| CIE-LCH | lch(30.59, 47.42, 350.03°) |
| OKLab | oklab(42.07% 0.143 -0.0213) |
| OKLCH | oklch(42.07% 0.145 351.5) |
| XYZ | xyz(11.5304, 6.4785, 9.4456) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 3.66
Red Purple
#820747
ΔE00 3.86
Dark Magenta
#960056
ΔE00 3.99
Mulberry
#920A4E
ΔE00 4.44
Velvet
#750851
ΔE00 4.52
Dark Fuchsia
#9D0759
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831F56 #1F834C
analogous
#7E1F83 #831F56 #831F24
triadic
#831F56 #56831F #1F5683
tetradic
#831F56 #837E1F #1F834C #1F2483
square
#831F56 #837E1F #1F834C #1F2483
split-complementary
#831F56 #24831F #1F837E
monochromatic
#200815 #521336 #831F56 #B42B76 #D44995
Accessibility & contrast
On white
9.15
#831F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#831F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831F56
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831F56 | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303D57
Deuteranopia (green-blind)
#4D4F54
Tritanopia (blue-blind)
#8D1737
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #831f56; /* rgb */ color: rgb(131, 31, 86); /* oklch */ color: oklch(42.1% 0.145 351.5);
Tailwind
colors: {
custom: {
50: '#ab6585',
500: '#831f56',
950: '#000000',
},
}SCSS
$custom: #831f56; $custom-light: #ab6585; $custom-dark: #000000;
JSON
{
"hex": "#831f56",
"rgb": {
"r": 131,
"g": 31,
"b": 86
},
"hsl": {
"h": 327,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.42073,
"c": 0.14454,
"h": 351.5
},
"luminance": 0.06477
}Semantic roles & 50–950 ramp
primary
#831F56
secondary
#48B679
accent
#E58C43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C