#831789#831789

#831789 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.188 H 325.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#831789
RGBrgb(131, 23, 137)
HSLhsl(297, 71%, 31%)
HSVhsv(297, 83%, 54%)
CMYKcmyk(4.4%, 83.2%, 0%, 46.3%)
CIE-LABlab(32.36, 56.75, -37.96)
CIE-LCHlch(32.36, 68.28, 326.22°)
OKLaboklab(44.19% 0.1552 -0.1058)
OKLCHoklch(44.19% 0.188 325.7)
XYZxyz(14.1815, 7.2452, 24.3136)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831789 #1D8917
analogous
#4A1789 #831789 #891756
triadic
#831789 #898317 #178983
tetradic
#831789 #894A17 #1D8917 #175689
square
#831789 #894A17 #1D8917 #175689
split-complementary
#831789 #568917 #17894A
monochromatic
#1F0520 #510E55 #831789 #B520BD #D63CDE

Accessibility & contrast

On white

8.58
#831789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#831789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831789
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831789#FFFFFF#000000##FFFFFF
##8317891.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#862E51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #831789;
/* rgb */ color: rgb(131, 23, 137);
/* oklch */ color: oklch(44.2% 0.188 325.7);
Tailwind
colors: {
  custom: {
    50: '#ab64ac',
    500: '#831789',
    950: '#000000',
  },
}
SCSS
$custom: #831789;
$custom-light: #ab64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#831789",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 137
  },
  "hsl": {
    "h": 296.842,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.18784,
    "h": 325.7
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#831789
secondary
#46BD3F
accent
#EE3A43
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #831789

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

Preview Lab → · Contrast checker → · Palette generator →

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