#831575#831575

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

Color values

HEX#831575
RGBrgb(131, 21, 117)
HSLhsl(308, 72%, 30%)
HSVhsv(308, 84%, 51%)
CMYKcmyk(0%, 84%, 10.7%, 48.6%)
CIE-LABlab(30.99, 54.01, -27.58)
CIE-LCHlch(30.99, 60.64, 332.94°)
OKLaboklab(42.84% 0.1572 -0.0756)
OKLCHoklch(42.84% 0.174 334.3)
XYZxyz(12.8393, 6.6472, 17.4330)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831575 #158323
analogous
#5A1583 #831575 #83153E
triadic
#831575 #758315 #157583
tetradic
#831575 #835A15 #158323 #153E83
square
#831575 #835A15 #158323 #153E83
split-complementary
#831575 #3E8315 #15835A
monochromatic
#1A0418 #4E0D46 #831575 #B81DA4 #DE34C9

Accessibility & contrast

On white

9.02
#831575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831575
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831575#FFFFFF#000000##FFFFFF
##8315751.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F77
Deuteranopia (green-blind)
#3F4E73
Tritanopia (blue-blind)
#8A2145
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831575;
/* rgb */ color: rgb(131, 21, 117);
/* oklch */ color: oklch(42.8% 0.174 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab629d',
    500: '#831575',
    950: '#000000',
  },
}
SCSS
$custom: #831575;
$custom-light: #ab629d;
$custom-dark: #000000;
JSON
{
  "hex": "#831575",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 307.636,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.17447,
    "h": 334.3
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#831575
secondary
#3CB84C
accent
#EF5039
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831575

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

Preview Lab → · Contrast checker → · Palette generator →

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