#831474#831474

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

Color values

HEX#831474
RGBrgb(131, 20, 116)
HSLhsl(308, 74%, 30%)
HSVhsv(308, 85%, 51%)
CMYKcmyk(0%, 84.7%, 11.5%, 48.6%)
CIE-LABlab(30.85, 54.10, -27.17)
CIE-LCHlch(30.85, 60.54, 333.33°)
OKLaboklab(42.72% 0.1579 -0.0744)
OKLCHoklch(42.72% 0.175 334.8)
XYZxyz(12.7628, 6.5877, 17.1190)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831474 #148323
analogous
#5B1483 #831474 #83143D
triadic
#831474 #748314 #147483
tetradic
#831474 #835B14 #148323 #143D83
square
#831474 #835B14 #148323 #143D83
split-complementary
#831474 #3D8314 #14835B
monochromatic
#1B0418 #4E0C45 #831474 #B81CA3 #E032C8

Accessibility & contrast

On white

9.06
#831474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831474
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831474#FFFFFF#000000##FFFFFF
##8314741.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#3F4E72
Tritanopia (blue-blind)
#8A2045
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831474;
/* rgb */ color: rgb(131, 20, 116);
/* oklch */ color: oklch(42.7% 0.175 334.8);
Tailwind
colors: {
  custom: {
    50: '#ab629c',
    500: '#831474',
    950: '#000000',
  },
}
SCSS
$custom: #831474;
$custom-light: #ab629c;
$custom-dark: #000000;
JSON
{
  "hex": "#831474",
  "rgb": {
    "r": 131,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 308.108,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.17458,
    "h": 334.8
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#831474
secondary
#3BB84C
accent
#F05138
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831474

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

Preview Lab → · Contrast checker → · Palette generator →

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