#831674#831674

#831674 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 334.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#831674
RGBrgb(131, 22, 116)
HSLhsl(308, 71%, 30%)
HSVhsv(308, 83%, 51%)
CMYKcmyk(0%, 83.2%, 11.5%, 48.6%)
CIE-LABlab(31.02, 53.60, -26.90)
CIE-LCHlch(31.02, 59.97, 333.35°)
OKLaboklab(42.84% 0.1564 -0.0737)
OKLCHoklch(42.84% 0.173 334.8)
XYZxyz(12.7995, 6.6612, 17.1313)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831674 #168325
analogous
#5C1683 #831674 #83163D
triadic
#831674 #748316 #167483
tetradic
#831674 #835C16 #168325 #163D83
square
#831674 #835C16 #168325 #163D83
split-complementary
#831674 #3D8316 #16835C
monochromatic
#1A0417 #4F0D46 #831674 #B71FA2 #DD36C6

Accessibility & contrast

On white

9.01
#831674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831674
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831674#FFFFFF#000000##FFFFFF
##8316741.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F76
Deuteranopia (green-blind)
#3F4F72
Tritanopia (blue-blind)
#8A2145
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831674;
/* rgb */ color: rgb(131, 22, 116);
/* oklch */ color: oklch(42.8% 0.173 334.8);
Tailwind
colors: {
  custom: {
    50: '#ab639c',
    500: '#831674',
    950: '#000000',
  },
}
SCSS
$custom: #831674;
$custom-light: #ab639c;
$custom-dark: #000000;
JSON
{
  "hex": "#831674",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 308.257,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.1729,
    "h": 334.8
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#831674
secondary
#3DB74E
accent
#EE533A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831674

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

Preview Lab → · Contrast checker → · Palette generator →

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