#831475#831475

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

Color values

HEX#831475
RGBrgb(131, 20, 117)
HSLhsl(308, 74%, 30%)
HSVhsv(308, 85%, 51%)
CMYKcmyk(0%, 84.7%, 10.7%, 48.6%)
CIE-LABlab(30.90, 54.25, -27.72)
CIE-LCHlch(30.90, 60.92, 332.94°)
OKLaboklab(42.78% 0.158 -0.076)
OKLCHoklch(42.78% 0.175 334.3)
XYZxyz(12.8213, 6.6111, 17.4270)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831475 #148322
analogous
#5A1483 #831475 #83143D
triadic
#831475 #758314 #147583
tetradic
#831475 #835A14 #148322 #143D83
square
#831475 #835A14 #148322 #143D83
split-complementary
#831475 #3D8314 #14835A
monochromatic
#1B0418 #4E0C46 #831475 #B81CA4 #E032CA

Accessibility & contrast

On white

9.04
#831475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#831475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831475
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831475#FFFFFF#000000##FFFFFF
##8314751.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113F77
Deuteranopia (green-blind)
#3E4E73
Tritanopia (blue-blind)
#8A2145
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831475;
/* rgb */ color: rgb(131, 20, 117);
/* oklch */ color: oklch(42.8% 0.175 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab629d',
    500: '#831475',
    950: '#000000',
  },
}
SCSS
$custom: #831475;
$custom-light: #ab629d;
$custom-dark: #000000;
JSON
{
  "hex": "#831475",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 307.568,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.1753,
    "h": 334.3
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#831475
secondary
#3BB84B
accent
#F04F38
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831475

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

Preview Lab → · Contrast checker → · Palette generator →

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