#831974#831974

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

Color values

HEX#831974
RGBrgb(131, 25, 116)
HSLhsl(308, 68%, 31%)
HSVhsv(308, 81%, 51%)
CMYKcmyk(0%, 80.9%, 11.5%, 48.6%)
CIE-LABlab(31.31, 52.78, -26.45)
CIE-LCHlch(31.31, 59.04, 333.38°)
OKLaboklab(43.05% 0.154 -0.0724)
OKLCHoklch(43.05% 0.17 334.8)
XYZxyz(12.8603, 6.7827, 17.1515)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831974 #198328
analogous
#5D1983 #831974 #83193F
triadic
#831974 #748319 #197483
tetradic
#831974 #835D19 #198328 #193F83
square
#831974 #835D19 #198328 #193F83
split-complementary
#831974 #3F8319 #19835D
monochromatic
#1C0519 #500F46 #831974 #B623A2 #DA3DC4

Accessibility & contrast

On white

8.91
#831974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831974
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831974#FFFFFF#000000##FFFFFF
##8319741.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831974;
/* rgb */ color: rgb(131, 25, 116);
/* oklch */ color: oklch(43.0% 0.170 334.8);
Tailwind
colors: {
  custom: {
    50: '#ab649c',
    500: '#831974',
    950: '#000000',
  },
}
SCSS
$custom: #831974;
$custom-light: #ab649c;
$custom-dark: #000000;
JSON
{
  "hex": "#831974",
  "rgb": {
    "r": 131,
    "g": 25,
    "b": 116
  },
  "hsl": {
    "h": 308.491,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.17017,
    "h": 334.8
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#831974
secondary
#41B752
accent
#EB563D
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831974

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

Preview Lab → · Contrast checker → · Palette generator →

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