#731E89#731E89

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

Color values

HEX#731E89
RGBrgb(115, 30, 137)
HSLhsl(288, 64%, 33%)
HSVhsv(288, 78%, 54%)
CMYKcmyk(16.1%, 78.1%, 0%, 46.3%)
CIE-LABlab(30.35, 51.38, -41.33)
CIE-LCHlch(30.35, 65.94, 321.19°)
OKLaboklab(42.24% 0.1303 -0.1162)
OKLCHoklch(42.24% 0.175 318.3)
XYZxyz(12.0492, 6.3801, 24.2589)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E89 #34891E
analogous
#3E1E89 #731E89 #891E69
triadic
#731E89 #89731E #1E8973
tetradic
#731E89 #893E1E #34891E #1E6989
square
#731E89 #893E1E #34891E #1E6989
split-complementary
#731E89 #69891E #1E893E
monochromatic
#1F0825 #491357 #731E89 #9D29BB #BA4AD7

Accessibility & contrast

On white

9.23
#731E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#731E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E89
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E89#FFFFFF#000000##FFFFFF
##731E891.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731e89;
/* rgb */ color: rgb(115, 30, 137);
/* oklch */ color: oklch(42.2% 0.175 318.3);
Tailwind
colors: {
  custom: {
    50: '#9f64ac',
    500: '#731e89',
    950: '#000000',
  },
}
SCSS
$custom: #731e89;
$custom-light: #9f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#731e89",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 287.664,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.17458,
    "h": 318.3
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#731E89
secondary
#60BA49
accent
#E74163
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731E89

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

Preview Lab → · Contrast checker → · Palette generator →

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