#731B96#731B96

#731B96 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.189 H 313.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#731B96
RGBrgb(115, 27, 150)
HSLhsl(283, 69%, 35%)
HSVhsv(283, 82%, 59%)
CMYKcmyk(23.3%, 82%, 0%, 41.2%)
CIE-LABlab(30.95, 55.01, -48.38)
CIE-LCHlch(30.95, 73.26, 318.67°)
OKLaboklab(42.96% 0.1305 -0.1369)
OKLCHoklch(42.96% 0.189 313.6)
XYZxyz(12.9662, 6.6311, 29.4452)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B96 #3E961B
analogous
#361B96 #731B96 #961B7C
triadic
#731B96 #96731B #1B9673
tetradic
#731B96 #96361B #3E961B #1B7C96
square
#731B96 #96361B #3E961B #1B7C96
split-complementary
#731B96 #7C961B #1B9636
monochromatic
#23082E #4B1262 #731B96 #9B24CA #B54DDF

Accessibility & contrast

On white

9.03
#731B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#731B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B96
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B96#FFFFFF#000000##FFFFFF
##731B961.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#094B93
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731b96;
/* rgb */ color: rgb(115, 27, 150);
/* oklch */ color: oklch(43.0% 0.189 313.6);
Tailwind
colors: {
  custom: {
    50: '#a064b6',
    500: '#731b96',
    950: '#000000',
  },
}
SCSS
$custom: #731b96;
$custom-light: #a064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731b96",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 282.927,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42963,
    "c": 0.18915,
    "h": 313.6
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#731B96
secondary
#6DC14C
accent
#EC3B6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B96

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

Preview Lab → · Contrast checker → · Palette generator →

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