#731E88#731E88

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

Color values

HEX#731E88
RGBrgb(115, 30, 136)
HSLhsl(288, 64%, 33%)
HSVhsv(288, 78%, 53%)
CMYKcmyk(15.4%, 77.9%, 0%, 46.7%)
CIE-LABlab(30.28, 51.18, -40.82)
CIE-LCHlch(30.28, 65.47, 321.43°)
OKLaboklab(42.17% 0.1304 -0.1147)
OKLCHoklch(42.17% 0.174 318.7)
XYZxyz(11.9778, 6.3515, 23.8828)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E88 #33881E
analogous
#3E1E88 #731E88 #881E68
triadic
#731E88 #88731E #1E8873
tetradic
#731E88 #883E1E #33881E #1E6888
square
#731E88 #883E1E #33881E #1E6888
split-complementary
#731E88 #68881E #1E883E
monochromatic
#1E0824 #491356 #731E88 #9D29BA #BB49D7

Accessibility & contrast

On white

9.25
#731E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E88
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E88#FFFFFF#000000##FFFFFF
##731E881.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731e88;
/* rgb */ color: rgb(115, 30, 136);
/* oklch */ color: oklch(42.2% 0.174 318.7);
Tailwind
colors: {
  custom: {
    50: '#9f64ab',
    500: '#731e88',
    950: '#000000',
  },
}
SCSS
$custom: #731e88;
$custom-light: #9f64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#731e88",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 288.113,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.17368,
    "h": 318.7
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#731E88
secondary
#5FB949
accent
#E74162
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731E88

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

Preview Lab → · Contrast checker → · Palette generator →

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