#831975#831975

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

Color values

HEX#831975
RGBrgb(131, 25, 117)
HSLhsl(308, 68%, 31%)
HSVhsv(308, 81%, 51%)
CMYKcmyk(0%, 80.9%, 10.7%, 48.6%)
CIE-LABlab(31.36, 52.93, -27.00)
CIE-LCHlch(31.36, 59.42, 332.98°)
OKLaboklab(43.1% 0.1541 -0.074)
OKLCHoklch(43.1% 0.171 334.3)
XYZxyz(12.9187, 6.8061, 17.4595)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831975 #198327
analogous
#5C1983 #831975 #831940
triadic
#831975 #758319 #197583
tetradic
#831975 #835C19 #198327 #194083
square
#831975 #835C19 #198327 #194083
split-complementary
#831975 #408319 #19835C
monochromatic
#1C0519 #500F47 #831975 #B623A3 #DA3DC5

Accessibility & contrast

On white

8.89
#831975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831975
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831975#FFFFFF#000000##FFFFFF
##8319751.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831975;
/* rgb */ color: rgb(131, 25, 117);
/* oklch */ color: oklch(43.1% 0.171 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab649d',
    500: '#831975',
    950: '#000000',
  },
}
SCSS
$custom: #831975;
$custom-light: #ab649d;
$custom-dark: #000000;
JSON
{
  "hex": "#831975",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 307.925,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43102,
    "c": 0.1709,
    "h": 334.3
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#831975
secondary
#41B751
accent
#EB543D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831975

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

Preview Lab → · Contrast checker → · Palette generator →

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