#831473#831473

#831473 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.174 H 335.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#831473
RGBrgb(131, 20, 115)
HSLhsl(309, 74%, 30%)
HSVhsv(309, 85%, 51%)
CMYKcmyk(0%, 84.7%, 12.2%, 48.6%)
CIE-LABlab(30.79, 53.95, -26.62)
CIE-LCHlch(30.79, 60.16, 333.74°)
OKLaboklab(42.66% 0.1579 -0.0729)
OKLCHoklch(42.66% 0.174 335.2)
XYZxyz(12.7049, 6.5646, 16.8143)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831473 #148324
analogous
#5C1483 #831473 #83143B
triadic
#831473 #738314 #147383
tetradic
#831473 #835C14 #148324 #143B83
square
#831473 #835C14 #148324 #143B83
split-complementary
#831473 #3B8314 #14835C
monochromatic
#1B0417 #4E0C44 #831473 #B81CA2 #E032C7

Accessibility & contrast

On white

9.08
#831473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#831473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831473
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831473#FFFFFF#000000##FFFFFF
##8314731.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E75
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#8A1F44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831473;
/* rgb */ color: rgb(131, 20, 115);
/* oklch */ color: oklch(42.7% 0.174 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab629b',
    500: '#831473',
    950: '#000000',
  },
}
SCSS
$custom: #831473;
$custom-light: #ab629b;
$custom-dark: #000000;
JSON
{
  "hex": "#831473",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 308.649,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.17388,
    "h": 335.2
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#831473
secondary
#3BB84D
accent
#F05238
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831473

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

Preview Lab → · Contrast checker → · Palette generator →

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