#731D89#731D89

#731D89 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.176 H 318.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#731D89
RGBrgb(115, 29, 137)
HSLhsl(288, 65%, 33%)
HSVhsv(288, 79%, 54%)
CMYKcmyk(16.1%, 78.8%, 0%, 46.3%)
CIE-LABlab(30.23, 51.73, -41.52)
CIE-LCHlch(30.23, 66.33, 321.25°)
OKLaboklab(42.16% 0.1312 -0.1168)
OKLCHoklch(42.16% 0.176 318.3)
XYZxyz(12.0243, 6.3303, 24.2506)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D89 #33891D
analogous
#3D1D89 #731D89 #891D69
triadic
#731D89 #89731D #1D8973
tetradic
#731D89 #893D1D #33891D #1D6989
square
#731D89 #893D1D #33891D #1D6989
split-complementary
#731D89 #69891D #1D893D
monochromatic
#1E0824 #491256 #731D89 #9D28BC #BB48D8

Accessibility & contrast

On white

9.27
#731D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#731D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D89
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D89#FFFFFF#000000##FFFFFF
##731D891.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#234A87
Tritanopia (blue-blind)
#723452
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731d89;
/* rgb */ color: rgb(115, 29, 137);
/* oklch */ color: oklch(42.2% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#9f64ac',
    500: '#731d89',
    950: '#000000',
  },
}
SCSS
$custom: #731d89;
$custom-light: #9f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#731d89",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 287.778,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42156,
    "c": 0.17562,
    "h": 318.3
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#731D89
secondary
#5FBA47
accent
#E84062
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731D89

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

Preview Lab → · Contrast checker → · Palette generator →

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