#731A87#731A87

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

Color values

HEX#731A87
RGBrgb(115, 26, 135)
HSLhsl(289, 68%, 32%)
HSVhsv(289, 81%, 53%)
CMYKcmyk(14.8%, 80.7%, 0%, 47.1%)
CIE-LABlab(29.75, 52.33, -41.06)
CIE-LCHlch(29.75, 66.52, 321.88°)
OKLaboklab(41.77% 0.1341 -0.1154)
OKLCHoklch(41.77% 0.177 319.3)
XYZxyz(11.8122, 6.1335, 23.4787)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A87 #2E871A
analogous
#3D1A87 #731A87 #871A65
triadic
#731A87 #87731A #1A8773
tetradic
#731A87 #873D1A #2E871A #1A6587
square
#731A87 #873D1A #2E871A #1A6587
split-complementary
#731A87 #65871A #1A873D
monochromatic
#1C0620 #471054 #731A87 #9F24BA #BE41DA

Accessibility & contrast

On white

9.43
#731A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731A87
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A87#FFFFFF#000000##FFFFFF
##731A871.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#733251
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731a87;
/* rgb */ color: rgb(115, 26, 135);
/* oklch */ color: oklch(41.8% 0.177 319.3);
Tailwind
colors: {
  custom: {
    50: '#9f62ab',
    500: '#731a87',
    950: '#000000',
  },
}
SCSS
$custom: #731a87;
$custom-light: #9f62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#731a87",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 288.991,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41769,
    "c": 0.17688,
    "h": 319.3
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#731A87
secondary
#58BA42
accent
#EB3D5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731A87

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

Preview Lab → · Contrast checker → · Palette generator →

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