#731D82#731D82

#731D82 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.169 H 321.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#731D82
RGBrgb(115, 29, 130)
HSLhsl(291, 64%, 31%)
HSVhsv(291, 78%, 51%)
CMYKcmyk(11.5%, 77.7%, 0%, 49%)
CIE-LABlab(29.75, 50.36, -37.92)
CIE-LCHlch(29.75, 63.05, 323.02°)
OKLaboklab(41.67% 0.132 -0.1062)
OKLCHoklch(41.67% 0.169 321.2)
XYZxyz(11.5384, 6.1359, 21.6914)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D82 #2C821D
analogous
#401D82 #731D82 #821D5E
triadic
#731D82 #82731D #1D8273
tetradic
#731D82 #82401D #2C821D #1D5E82
square
#731D82 #82401D #2C821D #1D5E82
split-complementary
#731D82 #5E821D #1D8240
monochromatic
#1A071E #471250 #731D82 #9F28B4 #C044D5

Accessibility & contrast

On white

9.43
#731D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#731D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D82
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D82#FFFFFF#000000##FFFFFF
##731D821.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#294980
Tritanopia (blue-blind)
#74314E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731d82;
/* rgb */ color: rgb(115, 29, 130);
/* oklch */ color: oklch(41.7% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#9f63a7',
    500: '#731d82',
    950: '#000000',
  },
}
SCSS
$custom: #731d82;
$custom-light: #9f63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#731d82",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 291.089,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.16944,
    "h": 321.2
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#731D82
secondary
#56B546
accent
#E7415A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731D82

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

Preview Lab → · Contrast checker → · Palette generator →

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