#831875#831875

#831875 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.172 H 334.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#831875
RGBrgb(131, 24, 117)
HSLhsl(308, 69%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 81.7%, 10.7%, 48.6%)
CIE-LABlab(31.26, 53.21, -27.15)
CIE-LCHlch(31.26, 59.74, 332.97°)
OKLaboklab(43.03% 0.1549 -0.0744)
OKLCHoklch(43.03% 0.172 334.3)
XYZxyz(12.8977, 6.7641, 17.4525)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831875 #188326
analogous
#5B1883 #831875 #831840
triadic
#831875 #758318 #187583
tetradic
#831875 #835B18 #188326 #184083
square
#831875 #835B18 #188326 #184083
split-complementary
#831875 #408318 #18835B
monochromatic
#1C0519 #4F0F47 #831875 #B721A3 #DB3AC6

Accessibility & contrast

On white

8.93
#831875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#831875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831875
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831875#FFFFFF#000000##FFFFFF
##8318751.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154077
Deuteranopia (green-blind)
#404F73
Tritanopia (blue-blind)
#8A2346
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831875;
/* rgb */ color: rgb(131, 24, 117);
/* oklch */ color: oklch(43.0% 0.172 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab639d',
    500: '#831875',
    950: '#000000',
  },
}
SCSS
$custom: #831875;
$custom-light: #ab639d;
$custom-dark: #000000;
JSON
{
  "hex": "#831875",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 307.85,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.17184,
    "h": 334.3
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#831875
secondary
#40B74F
accent
#EC533C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831875

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

Preview Lab → · Contrast checker → · Palette generator →

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