#731371#731371

#731371 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.165 H 329.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#731371
RGBrgb(115, 19, 113)
HSLhsl(301, 72%, 26%)
HSVhsv(301, 83%, 45%)
CMYKcmyk(0%, 83.5%, 1.7%, 54.9%)
CIE-LABlab(27.58, 50.40, -30.62)
CIE-LCHlch(27.58, 58.97, 328.72°)
OKLaboklab(39.77% 0.1417 -0.0848)
OKLCHoklch(39.77% 0.165 329.1)
XYZxyz(10.2837, 5.3036, 16.1017)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731371 #137315
analogous
#451373 #731371 #731341
triadic
#731371 #717313 #137173
tetradic
#731371 #734513 #137315 #134173
square
#731371 #734513 #137315 #134173
split-complementary
#731371 #417313 #137345
monochromatic
#1A041A #3E0A3D #731371 #A81CA5 #DB25D7

Accessibility & contrast

On white

10.19
#731371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#731371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731371
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731371#FFFFFF#000000##FFFFFF
##7313711.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#31456F
Tritanopia (blue-blind)
#772343
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731371;
/* rgb */ color: rgb(115, 19, 113);
/* oklch */ color: oklch(39.8% 0.165 329.1);
Tailwind
colors: {
  custom: {
    50: '#9f5f9a',
    500: '#731371',
    950: '#000000',
  },
}
SCSS
$custom: #731371;
$custom-light: #9f5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#731371",
  "rgb": {
    "r": 115,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 301.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.16519,
    "h": 329.1
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#731371
secondary
#38AA3B
accent
#EE3D39
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731371

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

Preview Lab → · Contrast checker → · Palette generator →

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