#731A96#731A96

#731A96 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.190 H 313.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#731A96
RGBrgb(115, 26, 150)
HSLhsl(283, 70%, 35%)
HSVhsv(283, 83%, 59%)
CMYKcmyk(23.3%, 82.7%, 0%, 41.2%)
CIE-LABlab(30.85, 55.32, -48.56)
CIE-LCHlch(30.85, 73.61, 318.73°)
OKLaboklab(42.89% 0.1313 -0.1374)
OKLCHoklch(42.89% 0.19 313.7)
XYZxyz(12.9437, 6.5861, 29.4377)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A96 #3D961A
analogous
#351A96 #731A96 #961A7B
triadic
#731A96 #96731A #1A9673
tetradic
#731A96 #96351A #3D961A #1A7B96
square
#731A96 #96351A #3D961A #1A7B96
split-complementary
#731A96 #7B961A #1A9635
monochromatic
#23082E #4B1162 #731A96 #9B23CA #B64BE0

Accessibility & contrast

On white

9.06
#731A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#731A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A96
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A96#FFFFFF#000000##FFFFFF
##731A961.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731a96;
/* rgb */ color: rgb(115, 26, 150);
/* oklch */ color: oklch(42.9% 0.190 313.7);
Tailwind
colors: {
  custom: {
    50: '#a063b6',
    500: '#731a96',
    950: '#000000',
  },
}
SCSS
$custom: #731a96;
$custom-light: #a063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731a96",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 283.065,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42888,
    "c": 0.19004,
    "h": 313.7
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#731A96
secondary
#6CC24A
accent
#ED3B6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731A96

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

Preview Lab → · Contrast checker → · Palette generator →

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