#731D88#731D88

#731D88 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.175 H 318.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#731D88
RGBrgb(115, 29, 136)
HSLhsl(288, 65%, 32%)
HSVhsv(288, 79%, 53%)
CMYKcmyk(15.4%, 78.7%, 0%, 46.7%)
CIE-LABlab(30.16, 51.53, -41.01)
CIE-LCHlch(30.16, 65.86, 321.48°)
OKLaboklab(42.08% 0.1313 -0.1153)
OKLCHoklch(42.08% 0.175 318.7)
XYZxyz(11.9529, 6.3017, 23.8745)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D88 #32881D
analogous
#3D1D88 #731D88 #881D68
triadic
#731D88 #88731D #1D8873
tetradic
#731D88 #883D1D #32881D #1D6888
square
#731D88 #883D1D #32881D #1D6888
split-complementary
#731D88 #68881D #1D883D
monochromatic
#1E0723 #481256 #731D88 #9E28BA #BC48D8

Accessibility & contrast

On white

9.29
#731D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#731D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D88
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D88#FFFFFF#000000##FFFFFF
##731D881.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#733452
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731d88;
/* rgb */ color: rgb(115, 29, 136);
/* oklch */ color: oklch(42.1% 0.175 318.7);
Tailwind
colors: {
  custom: {
    50: '#9f64ab',
    500: '#731d88',
    950: '#000000',
  },
}
SCSS
$custom: #731d88;
$custom-light: #9f64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#731d88",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 288.224,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42084,
    "c": 0.17474,
    "h": 318.7
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#731D88
secondary
#5DBA47
accent
#E84061
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731D88

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

Preview Lab → · Contrast checker → · Palette generator →

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