#831078#831078

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

Color values

HEX#831078
RGBrgb(131, 16, 120)
HSLhsl(306, 78%, 29%)
HSVhsv(306, 88%, 51%)
CMYKcmyk(0%, 87.8%, 8.4%, 48.6%)
CIE-LABlab(30.77, 55.61, -29.84)
CIE-LCHlch(30.77, 63.11, 331.78°)
OKLaboklab(42.73% 0.1606 -0.0821)
OKLCHoklch(42.73% 0.18 332.9)
XYZxyz(12.9356, 6.5531, 18.3493)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831078 #10831B
analogous
#551083 #831078 #83103F
triadic
#831078 #788310 #107883
tetradic
#831078 #835510 #10831B #103F83
square
#831078 #835510 #10831B #103F83
split-complementary
#831078 #3F8310 #108355
monochromatic
#1B0319 #4C0946 #831078 #BA17AA #E529D3

Accessibility & contrast

On white

9.09
#831078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#831078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831078
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831078#FFFFFF#000000##FFFFFF
##8310781.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E7B
Deuteranopia (green-blind)
#3C4E75
Tritanopia (blue-blind)
#892046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831078;
/* rgb */ color: rgb(131, 16, 120);
/* oklch */ color: oklch(42.7% 0.180 332.9);
Tailwind
colors: {
  custom: {
    50: '#ab619f',
    500: '#831078',
    950: '#000000',
  },
}
SCSS
$custom: #831078;
$custom-light: #ab619f;
$custom-dark: #000000;
JSON
{
  "hex": "#831078",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 120
  },
  "hsl": {
    "h": 305.739,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.1804,
    "h": 332.9
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#831078
secondary
#36B943
accent
#F54633
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #831078

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

Preview Lab → · Contrast checker → · Palette generator →

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