#831B6F#831B6F
#831B6F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 337.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #831B6F |
|---|---|
| RGB | rgb(131, 27, 111) |
| HSL | hsl(312, 66%, 31%) |
| HSV | hsv(312, 79%, 51%) |
| CMYK | cmyk(0%, 79.4%, 15.3%, 48.6%) |
| CIE-LAB | lab(31.25, 51.43, -23.36) |
| CIE-LCH | lch(31.25, 56.48, 335.57°) |
| OKLab | oklab(42.92% 0.1518 -0.0635) |
| OKLCH | oklch(42.92% 0.165 337.3) |
| XYZ | xyz(12.6215, 6.7581, 15.6756) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.84
Purple
#800080
ΔE00 5.05
Rich Purple
#720058
ΔE00 5.35
Darkmagenta
#8B008B
ΔE00 5.78
Velvet
#750851
ΔE00 6.29
Red Violet
#9E0168
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#831B6F #1B832F
analogous
#631B83 #831B6F #831B3B
triadic
#831B6F #6F831B #1B6F83
tetradic
#831B6F #83631B #1B832F #1B3B83
square
#831B6F #83631B #1B832F #1B3B83
split-complementary
#831B6F #3B831B #1B8363
monochromatic
#1E0619 #501144 #831B6F #B6259A #D841BB
Accessibility & contrast
On white
8.93
#831B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#831B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #831B6F
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##831B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##831B6F | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3F71
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#8A2243
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #831b6f; /* rgb */ color: rgb(131, 27, 111); /* oklch */ color: oklch(42.9% 0.165 337.3);
Tailwind
colors: {
custom: {
50: '#ab6498',
500: '#831b6f',
950: '#000000',
},
}SCSS
$custom: #831b6f; $custom-light: #ab6498; $custom-dark: #000000;
JSON
{
"hex": "#831b6f",
"rgb": {
"r": 131,
"g": 27,
"b": 111
},
"hsl": {
"h": 311.538,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.42919,
"c": 0.1646,
"h": 337.3
},
"luminance": 0.06757
}Semantic roles & 50–950 ramp
primary
#831B6F
secondary
#43B659
accent
#E9603F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060D
muted
#7F7A7E