#731A71#731A71

#731A71 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.158 H 329.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#731A71
RGBrgb(115, 26, 113)
HSLhsl(301, 63%, 28%)
HSVhsv(301, 77%, 45%)
CMYKcmyk(0%, 77.4%, 1.7%, 54.9%)
CIE-LABlab(28.32, 48.28, -29.45)
CIE-LCHlch(28.32, 56.55, 328.61°)
OKLaboklab(40.3% 0.1357 -0.0815)
OKLCHoklch(40.3% 0.158 329)
XYZxyz(10.4202, 5.5767, 16.1472)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A71 #1A731C
analogous
#481A73 #731A71 #731A45
triadic
#731A71 #71731A #1A7173
tetradic
#731A71 #73481A #1A731C #1A4573
square
#731A71 #73481A #1A731C #1A4573
split-complementary
#731A71 #45731A #1A7348
monochromatic
#190619 #410F40 #731A71 #A525A2 #D236CE

Accessibility & contrast

On white

9.93
#731A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A71
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A71#FFFFFF#000000##FFFFFF
##731A711.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#34476F
Tritanopia (blue-blind)
#772744
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731a71;
/* rgb */ color: rgb(115, 26, 113);
/* oklch */ color: oklch(40.3% 0.158 329.0);
Tailwind
colors: {
  custom: {
    50: '#9e619a',
    500: '#731a71',
    950: '#000000',
  },
}
SCSS
$custom: #731a71;
$custom-light: #9e619a;
$custom-dark: #000000;
JSON
{
  "hex": "#731a71",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 301.348,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.1583,
    "h": 329
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#731A71
secondary
#41A843
accent
#E64542
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731A71

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

Preview Lab → · Contrast checker → · Palette generator →

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