#731E86#731E86

#731E86 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 319.5°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#731E86
RGBrgb(115, 30, 134)
HSLhsl(289, 63%, 32%)
HSVhsv(289, 78%, 53%)
CMYKcmyk(14.2%, 77.6%, 0%, 47.5%)
CIE-LABlab(30.15, 50.79, -39.79)
CIE-LCHlch(30.15, 64.52, 321.92°)
OKLaboklab(42.03% 0.1307 -0.1117)
OKLCHoklch(42.03% 0.172 319.5)
XYZxyz(11.8370, 6.2952, 23.1412)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E86 #31861E
analogous
#3F1E86 #731E86 #861E65
triadic
#731E86 #86731E #1E8673
tetradic
#731E86 #863F1E #31861E #1E6586
square
#731E86 #863F1E #31861E #1E6586
split-complementary
#731E86 #65861E #1E863F
monochromatic
#1D0822 #481354 #731E86 #9E29B8 #BC48D6

Accessibility & contrast

On white

9.30
#731E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E86
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E86#FFFFFF#000000##FFFFFF
##731E861.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#264A84
Tritanopia (blue-blind)
#733451
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731e86;
/* rgb */ color: rgb(115, 30, 134);
/* oklch */ color: oklch(42.0% 0.172 319.5);
Tailwind
colors: {
  custom: {
    50: '#9f64aa',
    500: '#731e86',
    950: '#000000',
  },
}
SCSS
$custom: #731e86;
$custom-light: #9f64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#731e86",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 289.038,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.1719,
    "h": 319.5
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#731E86
secondary
#5CB847
accent
#E64160
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731E86

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

Preview Lab → · Contrast checker → · Palette generator →

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