#731071#731071

#731071 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.168 H 329.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#731071
RGBrgb(115, 16, 113)
HSLhsl(301, 76%, 26%)
HSVhsv(301, 86%, 45%)
CMYKcmyk(0%, 86.1%, 1.7%, 54.9%)
CIE-LABlab(27.32, 51.16, -31.04)
CIE-LCHlch(27.32, 59.84, 328.76°)
OKLaboklab(39.59% 0.1439 -0.086)
OKLCHoklch(39.59% 0.168 329.1)
XYZxyz(10.2361, 5.2085, 16.0858)
Luminance0.0521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731071 #107312
analogous
#431073 #731071 #73103F
triadic
#731071 #717310 #107173
tetradic
#731071 #734310 #107312 #103F73
square
#731071 #734310 #107312 #103F73
split-complementary
#731071 #3F7310 #107343
monochromatic
#1B041A #3D093C #731071 #A917A6 #DE1FDB

Accessibility & contrast

On white

10.29
#731071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#731071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731071
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731071#FFFFFF#000000##FFFFFF
##7310711.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#772242
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731071;
/* rgb */ color: rgb(115, 16, 113);
/* oklch */ color: oklch(39.6% 0.168 329.1);
Tailwind
colors: {
  custom: {
    50: '#9f5e9a',
    500: '#731071',
    950: '#000000',
  },
}
SCSS
$custom: #731071;
$custom-light: #9f5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#731071",
  "rgb": {
    "r": 115,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 301.212,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.16768,
    "h": 329.1
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#731071
secondary
#34AA37
accent
#F23936
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731071

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

Preview Lab → · Contrast checker → · Palette generator →

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