#831074#831074

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

Color values

HEX#831074
RGBrgb(131, 16, 116)
HSLhsl(308, 78%, 29%)
HSVhsv(308, 88%, 51%)
CMYKcmyk(0%, 87.8%, 11.5%, 48.6%)
CIE-LABlab(30.54, 55.00, -27.66)
CIE-LCHlch(30.54, 61.56, 333.30°)
OKLaboklab(42.5% 0.1606 -0.0758)
OKLCHoklch(42.5% 0.178 334.7)
XYZxyz(12.6979, 6.4580, 17.0974)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831074 #10831F
analogous
#591083 #831074 #83103B
triadic
#831074 #748310 #107483
tetradic
#831074 #835910 #10831F #103B83
square
#831074 #835910 #10831F #103B83
split-complementary
#831074 #3B8310 #108359
monochromatic
#1B0318 #4C0944 #831074 #BA17A4 #E529CC

Accessibility & contrast

On white

9.16
#831074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#831074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831074
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831074#FFFFFF#000000##FFFFFF
##8310741.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3D76
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#8A1E44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831074;
/* rgb */ color: rgb(131, 16, 116);
/* oklch */ color: oklch(42.5% 0.178 334.7);
Tailwind
colors: {
  custom: {
    50: '#ab619c',
    500: '#831074',
    950: '#000000',
  },
}
SCSS
$custom: #831074;
$custom-light: #ab619c;
$custom-dark: #000000;
JSON
{
  "hex": "#831074",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 307.826,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.17759,
    "h": 334.7
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#831074
secondary
#36B947
accent
#F54C33
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831074

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

Preview Lab → · Contrast checker → · Palette generator →

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