#832874#832874

#832874 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.153 H 335.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#832874
RGBrgb(131, 40, 116)
HSLhsl(310, 53%, 34%)
HSVhsv(310, 69%, 51%)
CMYKcmyk(0%, 69.5%, 11.5%, 48.6%)
CIE-LABlab(33.15, 47.56, -23.57)
CIE-LCHlch(33.15, 53.08, 333.64°)
OKLaboklab(44.37% 0.1386 -0.0643)
OKLCHoklch(44.37% 0.153 335.1)
XYZxyz(13.2714, 7.6049, 17.2885)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#832874 #288337
analogous
#642883 #832874 #832846
triadic
#832874 #748328 #287483
tetradic
#832874 #836428 #288337 #284683
square
#832874 #836428 #288337 #284683
split-complementary
#832874 #468328 #288364
monochromatic
#250B21 #541A4A #832874 #B2369E #CC59B9

Accessibility & contrast

On white

8.33
#832874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#832874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #832874
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##832874#FFFFFF#000000##FFFFFF
##8328741.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#465372
Tritanopia (blue-blind)
#892E4A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #832874;
/* rgb */ color: rgb(131, 40, 116);
/* oklch */ color: oklch(44.4% 0.153 335.1);
Tailwind
colors: {
  custom: {
    50: '#aa6a9c',
    500: '#832874',
    950: '#000000',
  },
}
SCSS
$custom: #832874;
$custom-light: #aa6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#832874",
  "rgb": {
    "r": 131,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 309.89,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44372,
    "c": 0.15274,
    "h": 335.1
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#832874
secondary
#55B165
accent
#DD634B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #832874

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

Preview Lab → · Contrast checker → · Palette generator →

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