#731D96#731D96

#731D96 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.187 H 313.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#731D96
RGBrgb(115, 29, 150)
HSLhsl(283, 68%, 35%)
HSVhsv(283, 81%, 59%)
CMYKcmyk(23.3%, 80.7%, 0%, 41.2%)
CIE-LABlab(31.17, 54.37, -48.02)
CIE-LCHlch(31.17, 72.54, 318.55°)
OKLaboklab(43.12% 0.129 -0.1358)
OKLCHoklch(43.12% 0.187 313.5)
XYZxyz(13.0136, 6.7260, 29.4610)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D96 #40961D
analogous
#371D96 #731D96 #961D7C
triadic
#731D96 #96731D #1D9673
tetradic
#731D96 #96371D #40961D #1D7C96
square
#731D96 #96371D #40961D #1D7C96
split-complementary
#731D96 #7C961D #1D9637
monochromatic
#24092F #4C1363 #731D96 #9A27C9 #B450DD

Accessibility & contrast

On white

8.95
#731D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#731D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D96
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D96#FFFFFF#000000##FFFFFF
##731D961.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#0D4B94
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731d96;
/* rgb */ color: rgb(115, 29, 150);
/* oklch */ color: oklch(43.1% 0.187 313.5);
Tailwind
colors: {
  custom: {
    50: '#a064b6',
    500: '#731d96',
    950: '#000000',
  },
}
SCSS
$custom: #731d96;
$custom-light: #a064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731d96",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 282.645,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.1873,
    "h": 313.5
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#731D96
secondary
#70C04F
accent
#EA3D6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731D96

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

Preview Lab → · Contrast checker → · Palette generator →

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