#731A89#731A89

#731A89 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 318.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#731A89
RGBrgb(115, 26, 137)
HSLhsl(288, 68%, 32%)
HSVhsv(288, 81%, 54%)
CMYKcmyk(16.1%, 81%, 0%, 46.3%)
CIE-LABlab(29.89, 52.72, -42.08)
CIE-LCHlch(29.89, 67.45, 321.41°)
OKLaboklab(41.91% 0.1338 -0.1184)
OKLCHoklch(41.91% 0.179 318.5)
XYZxyz(11.9544, 6.1903, 24.2272)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A89 #30891A
analogous
#3C1A89 #731A89 #891A68
triadic
#731A89 #89731A #1A8973
tetradic
#731A89 #893C1A #30891A #1A6889
square
#731A89 #893C1A #30891A #1A6889
split-complementary
#731A89 #68891A #1A893C
monochromatic
#1D0622 #481056 #731A89 #9E24BC #BD42DB

Accessibility & contrast

On white

9.38
#731A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#731A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A89
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A89#FFFFFF#000000##FFFFFF
##731A891.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#214987
Tritanopia (blue-blind)
#723352
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731a89;
/* rgb */ color: rgb(115, 26, 137);
/* oklch */ color: oklch(41.9% 0.179 318.5);
Tailwind
colors: {
  custom: {
    50: '#9f63ac',
    500: '#731a89',
    950: '#000000',
  },
}
SCSS
$custom: #731a89;
$custom-light: #9f63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#731a89",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 288.108,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.17862,
    "h": 318.5
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#731A89
secondary
#5BBC43
accent
#EB3D5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731A89

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

Preview Lab → · Contrast checker → · Palette generator →

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