#831574#831574

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

Color values

HEX#831574
RGBrgb(131, 21, 116)
HSLhsl(308, 72%, 30%)
HSVhsv(308, 84%, 51%)
CMYKcmyk(0%, 84%, 11.5%, 48.6%)
CIE-LABlab(30.93, 53.85, -27.04)
CIE-LCHlch(30.93, 60.26, 333.34°)
OKLaboklab(42.78% 0.1572 -0.0741)
OKLCHoklch(42.78% 0.174 334.8)
XYZxyz(12.7808, 6.6238, 17.1250)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831574 #158324
analogous
#5B1583 #831574 #83153D
triadic
#831574 #748315 #157483
tetradic
#831574 #835B15 #158324 #153D83
square
#831574 #835B15 #158324 #153D83
split-complementary
#831574 #3D8315 #15835B
monochromatic
#1A0417 #4E0D45 #831574 #B81DA3 #DE34C7

Accessibility & contrast

On white

9.03
#831574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#831574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831574
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831574#FFFFFF#000000##FFFFFF
##8315741.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133F76
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#8A2145
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831574;
/* rgb */ color: rgb(131, 21, 116);
/* oklch */ color: oklch(42.8% 0.174 334.8);
Tailwind
colors: {
  custom: {
    50: '#ab629c',
    500: '#831574',
    950: '#000000',
  },
}
SCSS
$custom: #831574;
$custom-light: #ab629c;
$custom-dark: #000000;
JSON
{
  "hex": "#831574",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 308.182,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42779,
    "c": 0.17376,
    "h": 334.8
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#831574
secondary
#3CB84D
accent
#EF5239
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831574

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

Preview Lab → · Contrast checker → · Palette generator →

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