#731F86#731F86

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

Color values

HEX#731F86
RGBrgb(115, 31, 134)
HSLhsl(289, 62%, 32%)
HSVhsv(289, 77%, 53%)
CMYKcmyk(14.2%, 76.9%, 0%, 47.5%)
CIE-LABlab(30.27, 50.43, -39.59)
CIE-LCHlch(30.27, 64.12, 321.86°)
OKLaboklab(42.12% 0.1297 -0.1111)
OKLCHoklch(42.12% 0.171 319.4)
XYZxyz(11.8627, 6.3466, 23.1498)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F86 #32861F
analogous
#401F86 #731F86 #861F66
triadic
#731F86 #86731F #1F8673
tetradic
#731F86 #86401F #32861F #1F6686
square
#731F86 #86401F #32861F #1F6686
split-complementary
#731F86 #66861F #1F8640
monochromatic
#1E0823 #481454 #731F86 #9E2AB8 #BC4AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731F86#FFFFFF#000000##FFFFFF
##731F861.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)
#004289
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#733451
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731f86;
/* rgb */ color: rgb(115, 31, 134);
/* oklch */ color: oklch(42.1% 0.171 319.4);
Tailwind
colors: {
  custom: {
    50: '#9f64aa',
    500: '#731f86',
    950: '#000000',
  },
}
SCSS
$custom: #731f86;
$custom-light: #9f64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#731f86",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 288.932,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42118,
    "c": 0.17079,
    "h": 319.4
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#731F86
secondary
#5DB849
accent
#E54260
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731F86

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

Preview Lab → · Contrast checker → · Palette generator →

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