#731E71#731E71

#731E71 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.154 H 329.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#731E71
RGBrgb(115, 30, 113)
HSLhsl(301, 59%, 28%)
HSVhsv(301, 74%, 45%)
CMYKcmyk(0%, 73.9%, 1.7%, 54.9%)
CIE-LABlab(28.82, 46.86, -28.66)
CIE-LCHlch(28.82, 54.93, 328.55°)
OKLaboklab(40.65% 0.1317 -0.0792)
OKLCHoklch(40.65% 0.154 329)
XYZxyz(10.5150, 5.7664, 16.1788)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E71 #1E7320
analogous
#4A1E73 #731E71 #731E46
triadic
#731E71 #71731E #1E7173
tetradic
#731E71 #734A1E #1E7320 #1E4673
square
#731E71 #734A1E #1E7320 #1E4673
split-complementary
#731E71 #46731E #1E734A
monochromatic
#180618 #421141 #731E71 #A42BA1 #CD3FC9

Accessibility & contrast

On white

9.75
#731E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#731E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E71
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E71#FFFFFF#000000##FFFFFF
##731E711.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#772A45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731e71;
/* rgb */ color: rgb(115, 30, 113);
/* oklch */ color: oklch(40.7% 0.154 329.0);
Tailwind
colors: {
  custom: {
    50: '#9e639a',
    500: '#731e71',
    950: '#000000',
  },
}
SCSS
$custom: #731e71;
$custom-light: #9e639a;
$custom-dark: #000000;
JSON
{
  "hex": "#731e71",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 301.412,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40654,
    "c": 0.15367,
    "h": 329
  },
  "luminance": 0.05766
}

Semantic roles & 50–950 ramp

primary
#731E71
secondary
#46A748
accent
#E24A46
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731E71

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

Preview Lab → · Contrast checker → · Palette generator →

#731E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva