#831880#831880

#831880 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.180 H 329.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#831880
RGBrgb(131, 24, 128)
HSLhsl(302, 69%, 30%)
HSVhsv(302, 82%, 51%)
CMYKcmyk(0%, 81.7%, 2.3%, 48.6%)
CIE-LABlab(31.89, 54.97, -33.09)
CIE-LCHlch(31.89, 64.16, 328.95°)
OKLaboklab(43.69% 0.155 -0.0916)
OKLCHoklch(43.69% 0.18 329.4)
XYZxyz(13.5829, 7.0381, 21.0610)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831880 #18831B
analogous
#501883 #831880 #83184B
triadic
#831880 #808318 #188083
tetradic
#831880 #835018 #18831B #184B83
square
#831880 #835018 #18831B #184B83
split-complementary
#831880 #4B8318 #188350
monochromatic
#1C051B #4F0F4D #831880 #B721B3 #DB3AD6

Accessibility & contrast

On white

8.72
#831880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#831880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831880
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831880#FFFFFF#000000##FFFFFF
##8318801.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#88294C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #831880;
/* rgb */ color: rgb(131, 24, 128);
/* oklch */ color: oklch(43.7% 0.180 329.4);
Tailwind
colors: {
  custom: {
    50: '#ab64a5',
    500: '#831880',
    950: '#000000',
  },
}
SCSS
$custom: #831880;
$custom-light: #ab64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#831880",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 301.682,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.18003,
    "h": 329.4
  },
  "luminance": 0.07037
}

Semantic roles & 50–950 ramp

primary
#831880
secondary
#40B743
accent
#EC413C
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #831880

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

Preview Lab → · Contrast checker → · Palette generator →

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