#731B86#731B86

#731B86 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.175 H 319.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#731B86
RGBrgb(115, 27, 134)
HSLhsl(289, 66%, 32%)
HSVhsv(289, 80%, 53%)
CMYKcmyk(14.2%, 79.9%, 0%, 47.5%)
CIE-LABlab(29.79, 51.82, -40.37)
CIE-LCHlch(29.79, 65.68, 322.08°)
OKLaboklab(41.78% 0.1334 -0.1133)
OKLCHoklch(41.78% 0.175 319.6)
XYZxyz(11.7647, 6.1505, 23.1171)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B86 #2E861B
analogous
#3E1B86 #731B86 #861B64
triadic
#731B86 #86731B #1B8673
tetradic
#731B86 #863E1B #2E861B #1B6486
square
#731B86 #863E1B #2E861B #1B6486
split-complementary
#731B86 #64861B #1B863E
monochromatic
#1C0620 #471153 #731B86 #9F25B9 #BE42D9

Accessibility & contrast

On white

9.42
#731B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#731B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B86
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B86#FFFFFF#000000##FFFFFF
##731B861.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#244984
Tritanopia (blue-blind)
#733250
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731b86;
/* rgb */ color: rgb(115, 27, 134);
/* oklch */ color: oklch(41.8% 0.175 319.6);
Tailwind
colors: {
  custom: {
    50: '#9f63aa',
    500: '#731b86',
    950: '#000000',
  },
}
SCSS
$custom: #731b86;
$custom-light: #9f63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#731b86",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 289.346,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41777,
    "c": 0.17502,
    "h": 319.6
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#731B86
secondary
#58B944
accent
#E93E5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731B86

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

Preview Lab → · Contrast checker → · Palette generator →

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