#831568#831568

#831568 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.166 H 340.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#831568
RGBrgb(131, 21, 104)
HSLhsl(315, 72%, 30%)
HSVhsv(315, 84%, 51%)
CMYKcmyk(0%, 84%, 20.6%, 48.6%)
CIE-LABlab(30.31, 52.11, -20.34)
CIE-LCHlch(30.31, 55.94, 338.68°)
OKLaboklab(42.13% 0.1562 -0.0549)
OKLCHoklch(42.13% 0.166 340.6)
XYZxyz(12.1273, 6.3624, 13.6834)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831568 #158330
analogous
#671583 #831568 #831531
triadic
#831568 #688315 #156883
tetradic
#831568 #836715 #158330 #153183
square
#831568 #836715 #158330 #153183
split-complementary
#831568 #318315 #158367
monochromatic
#1A0415 #4E0D3E #831568 #B81D92 #DE34B5

Accessibility & contrast

On white

9.24
#831568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#831568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831568
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831568#FFFFFF#000000##FFFFFF
##8315681.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C6A
Deuteranopia (green-blind)
#444D66
Tritanopia (blue-blind)
#8B193E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831568;
/* rgb */ color: rgb(131, 21, 104);
/* oklch */ color: oklch(42.1% 0.166 340.6);
Tailwind
colors: {
  custom: {
    50: '#ab6293',
    500: '#831568',
    950: '#000000',
  },
}
SCSS
$custom: #831568;
$custom-light: #ab6293;
$custom-dark: #000000;
JSON
{
  "hex": "#831568",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 314.727,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.16554,
    "h": 340.6
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#831568
secondary
#3CB85A
accent
#EF6539
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #831568

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#831568 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva