#831272#831272

#831272 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.175 H 335.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#831272
RGBrgb(131, 18, 114)
HSLhsl(309, 76%, 29%)
HSVhsv(309, 86%, 51%)
CMYKcmyk(0%, 86.3%, 13%, 48.6%)
CIE-LABlab(30.58, 54.27, -26.32)
CIE-LCHlch(30.58, 60.32, 334.12°)
OKLaboklab(42.49% 0.1592 -0.072)
OKLCHoklch(42.49% 0.175 335.7)
XYZxyz(12.6139, 6.4740, 16.5016)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831272 #128323
analogous
#5C1283 #831272 #831239
triadic
#831272 #728312 #127283
tetradic
#831272 #835C12 #128323 #123983
square
#831272 #835C12 #128323 #123983
split-complementary
#831272 #398312 #12835C
monochromatic
#1B0417 #4D0B43 #831272 #B919A1 #E22DC7

Accessibility & contrast

On white

9.15
#831272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831272
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831272#FFFFFF#000000##FFFFFF
##8312721.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133E74
Deuteranopia (green-blind)
#3F4E70
Tritanopia (blue-blind)
#8A1E43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831272;
/* rgb */ color: rgb(131, 18, 114);
/* oklch */ color: oklch(42.5% 0.175 335.7);
Tailwind
colors: {
  custom: {
    50: '#ab619b',
    500: '#831272',
    950: '#000000',
  },
}
SCSS
$custom: #831272;
$custom-light: #ab619b;
$custom-dark: #000000;
JSON
{
  "hex": "#831272",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 309.027,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42489,
    "c": 0.17475,
    "h": 335.7
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#831272
secondary
#38B84C
accent
#F25235
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831272

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

Preview Lab → · Contrast checker → · Palette generator →

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