#831273#831273

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

Color values

HEX#831273
RGBrgb(131, 18, 115)
HSLhsl(308, 76%, 29%)
HSVhsv(308, 86%, 51%)
CMYKcmyk(0%, 86.3%, 12.2%, 48.6%)
CIE-LABlab(30.63, 54.42, -26.88)
CIE-LCHlch(30.63, 60.69, 333.72°)
OKLaboklab(42.55% 0.1593 -0.0736)
OKLCHoklch(42.55% 0.175 335.2)
XYZxyz(12.6711, 6.4969, 16.8030)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831273 #128322
analogous
#5B1283 #831273 #83123A
triadic
#831273 #738312 #127383
tetradic
#831273 #835B12 #128322 #123A83
square
#831273 #835B12 #128322 #123A83
split-complementary
#831273 #3A8312 #12835B
monochromatic
#1B0418 #4D0B44 #831273 #B919A2 #E22DC9

Accessibility & contrast

On white

9.13
#831273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831273
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831273#FFFFFF#000000##FFFFFF
##8312731.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113E75
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#8A1E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831273;
/* rgb */ color: rgb(131, 18, 115);
/* oklch */ color: oklch(42.5% 0.175 335.2);
Tailwind
colors: {
  custom: {
    50: '#ab619b',
    500: '#831273',
    950: '#000000',
  },
}
SCSS
$custom: #831273;
$custom-light: #ab619b;
$custom-dark: #000000;
JSON
{
  "hex": "#831273",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 308.496,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42546,
    "c": 0.17544,
    "h": 335.2
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#831273
secondary
#38B84B
accent
#F25035
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831273

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

Preview Lab → · Contrast checker → · Palette generator →

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