#731E96#731E96

#731E96 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.186 H 313.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#731E96
RGBrgb(115, 30, 150)
HSLhsl(283, 67%, 35%)
HSVhsv(283, 80%, 59%)
CMYKcmyk(23.3%, 80%, 0%, 41.2%)
CIE-LABlab(31.29, 54.03, -47.83)
CIE-LCHlch(31.29, 72.16, 318.48°)
OKLaboklab(43.2% 0.1281 -0.1353)
OKLCHoklch(43.2% 0.186 313.4)
XYZxyz(13.0386, 6.7758, 29.4693)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E96 #41961E
analogous
#371E96 #731E96 #961E7D
triadic
#731E96 #96731E #1E9673
tetradic
#731E96 #96371E #41961E #1E7D96
square
#731E96 #96371E #41961E #1E7D96
split-complementary
#731E96 #7D961E #1E9637
monochromatic
#250A30 #4C1463 #731E96 #9A28C9 #B452DC

Accessibility & contrast

On white

8.92
#731E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#731E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E96
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E96#FFFFFF#000000##FFFFFF
##731E961.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#0F4B94
Tritanopia (blue-blind)
#6F3B5A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731e96;
/* rgb */ color: rgb(115, 30, 150);
/* oklch */ color: oklch(43.2% 0.186 313.4);
Tailwind
colors: {
  custom: {
    50: '#a065b6',
    500: '#731e96',
    950: '#000000',
  },
}
SCSS
$custom: #731e96;
$custom-light: #a065b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731e96",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 282.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.18633,
    "h": 313.4
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#731E96
secondary
#71BF50
accent
#EA3E70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E96

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

Preview Lab → · Contrast checker → · Palette generator →

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