#731A97#731A97

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

Color values

HEX#731A97
RGBrgb(115, 26, 151)
HSLhsl(283, 71%, 35%)
HSVhsv(283, 83%, 59%)
CMYKcmyk(23.8%, 82.8%, 0%, 40.8%)
CIE-LABlab(30.92, 55.53, -49.04)
CIE-LCHlch(30.92, 74.09, 318.55°)
OKLaboklab(42.97% 0.1311 -0.1388)
OKLCHoklch(42.97% 0.191 313.4)
XYZxyz(13.0245, 6.6184, 29.8635)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A97 #3E971A
analogous
#351A97 #731A97 #971A7D
triadic
#731A97 #97731A #1A9773
tetradic
#731A97 #97351A #3E971A #1A7D97
square
#731A97 #97351A #3E971A #1A7D97
split-complementary
#731A97 #7D971A #1A9735
monochromatic
#23082F #4B1163 #731A97 #9B23CB #B54BE0

Accessibility & contrast

On white

9.04
#731A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731A97
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A97#FFFFFF#000000##FFFFFF
##731A971.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#044B94
Tritanopia (blue-blind)
#6F3A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731a97;
/* rgb */ color: rgb(115, 26, 151);
/* oklch */ color: oklch(43.0% 0.191 313.4);
Tailwind
colors: {
  custom: {
    50: '#a063b6',
    500: '#731a97',
    950: '#000000',
  },
}
SCSS
$custom: #731a97;
$custom-light: #a063b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731a97",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 282.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42966,
    "c": 0.19093,
    "h": 313.4
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#731A97
secondary
#6DC24B
accent
#ED3A6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731A97

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

Preview Lab → · Contrast checker → · Palette generator →

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