#831775#831775

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

Color values

HEX#831775
RGBrgb(131, 23, 117)
HSLhsl(308, 70%, 30%)
HSVhsv(308, 82%, 51%)
CMYKcmyk(0%, 82.4%, 10.7%, 48.6%)
CIE-LABlab(31.17, 53.49, -27.30)
CIE-LCHlch(31.17, 60.05, 332.96°)
OKLaboklab(42.97% 0.1557 -0.0748)
OKLCHoklch(42.97% 0.173 334.3)
XYZxyz(12.8775, 6.7236, 17.4457)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831775 #178325
analogous
#5B1783 #831775 #83173F
triadic
#831775 #758317 #177583
tetradic
#831775 #835B17 #178325 #173F83
square
#831775 #835B17 #178325 #173F83
split-complementary
#831775 #3F8317 #17835B
monochromatic
#1B0518 #4F0E47 #831775 #B720A3 #DC38C7

Accessibility & contrast

On white

8.96
#831775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#831775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831775
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831775#FFFFFF#000000##FFFFFF
##8317751.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143F77
Deuteranopia (green-blind)
#3F4F73
Tritanopia (blue-blind)
#8A2346
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831775;
/* rgb */ color: rgb(131, 23, 117);
/* oklch */ color: oklch(43.0% 0.173 334.3);
Tailwind
colors: {
  custom: {
    50: '#ab639d',
    500: '#831775',
    950: '#000000',
  },
}
SCSS
$custom: #831775;
$custom-light: #ab639d;
$custom-dark: #000000;
JSON
{
  "hex": "#831775",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 307.778,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.17274,
    "h": 334.3
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#831775
secondary
#3FB74E
accent
#ED523B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831775

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

Preview Lab → · Contrast checker → · Palette generator →

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