#831476#831476

#831476 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.176 H 333.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#831476
RGBrgb(131, 20, 118)
HSLhsl(307, 74%, 30%)
HSVhsv(307, 85%, 51%)
CMYKcmyk(0%, 84.7%, 9.9%, 48.6%)
CIE-LABlab(30.96, 54.41, -28.26)
CIE-LCHlch(30.96, 61.31, 332.55°)
OKLaboklab(42.83% 0.158 -0.0776)
OKLCHoklch(42.83% 0.176 333.8)
XYZxyz(12.8804, 6.6348, 17.7383)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831476 #148321
analogous
#591483 #831476 #83143F
triadic
#831476 #768314 #147683
tetradic
#831476 #835914 #148321 #143F83
square
#831476 #835914 #148321 #143F83
split-complementary
#831476 #3F8314 #148359
monochromatic
#1B0418 #4E0C46 #831476 #B81CA6 #E032CB

Accessibility & contrast

On white

9.03
#831476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831476
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831476#FFFFFF#000000##FFFFFF
##8314761.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3F78
Deuteranopia (green-blind)
#3E4E74
Tritanopia (blue-blind)
#892146
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831476;
/* rgb */ color: rgb(131, 20, 118);
/* oklch */ color: oklch(42.8% 0.176 333.8);
Tailwind
colors: {
  custom: {
    50: '#ab629e',
    500: '#831476',
    950: '#000000',
  },
}
SCSS
$custom: #831476;
$custom-light: #ab629e;
$custom-dark: #000000;
JSON
{
  "hex": "#831476",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 307.027,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42834,
    "c": 0.17601,
    "h": 333.8
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#831476
secondary
#3BB84A
accent
#F04D38
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831476

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

Preview Lab → · Contrast checker → · Palette generator →

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