#831070#831070

#831070 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.175 H 336.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#831070
RGBrgb(131, 16, 112)
HSLhsl(310, 78%, 29%)
HSVhsv(310, 88%, 51%)
CMYKcmyk(0%, 87.8%, 14.5%, 48.6%)
CIE-LABlab(30.32, 54.41, -25.45)
CIE-LCHlch(30.32, 60.07, 334.93°)
OKLaboklab(42.27% 0.1604 -0.0695)
OKLCHoklch(42.27% 0.175 336.6)
XYZxyz(12.4702, 6.3670, 15.8983)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831070 #108323
analogous
#5D1083 #831070 #831037
triadic
#831070 #708310 #107083
tetradic
#831070 #835D10 #108323 #103783
square
#831070 #835D10 #108323 #103783
split-complementary
#831070 #378310 #10835D
monochromatic
#1B0317 #4C0941 #831070 #BA179F #E529C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831070#FFFFFF#000000##FFFFFF
##8310701.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)
#143D72
Deuteranopia (green-blind)
#404D6E
Tritanopia (blue-blind)
#8A1B42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831070;
/* rgb */ color: rgb(131, 16, 112);
/* oklch */ color: oklch(42.3% 0.175 336.6);
Tailwind
colors: {
  custom: {
    50: '#ab6199',
    500: '#831070',
    950: '#000000',
  },
}
SCSS
$custom: #831070;
$custom-light: #ab6199;
$custom-dark: #000000;
JSON
{
  "hex": "#831070",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 309.913,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.17482,
    "h": 336.6
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#831070
secondary
#36B94C
accent
#F55333
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831070

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

Preview Lab → · Contrast checker → · Palette generator →

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