#731D99#731D99

#731D99 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.190 H 312.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#731D99
RGBrgb(115, 29, 153)
HSLhsl(282, 68%, 36%)
HSVhsv(282, 81%, 60%)
CMYKcmyk(24.8%, 81%, 0%, 40%)
CIE-LABlab(31.40, 54.99, -49.49)
CIE-LCHlch(31.40, 73.98, 318.01°)
OKLaboklab(43.35% 0.1283 -0.1401)
OKLCHoklch(43.35% 0.19 312.5)
XYZxyz(13.2583, 6.8239, 30.7495)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D99 #43991D
analogous
#351D99 #731D99 #991D81
triadic
#731D99 #99731D #1D9973
tetradic
#731D99 #99351D #43991D #1D8199
square
#731D99 #99351D #43991D #1D8199
split-complementary
#731D99 #81991D #1D9935
monochromatic
#260932 #4C1366 #731D99 #9A27CC #B352DE

Accessibility & contrast

On white

8.88
#731D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731D99
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D99#FFFFFF#000000##FFFFFF
##731D991.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#034C96
Tritanopia (blue-blind)
#6E3C5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731d99;
/* rgb */ color: rgb(115, 29, 153);
/* oklch */ color: oklch(43.4% 0.190 312.5);
Tailwind
colors: {
  custom: {
    50: '#a065b8',
    500: '#731d99',
    950: '#000000',
  },
}
SCSS
$custom: #731d99;
$custom-light: #a065b8;
$custom-dark: #000000;
JSON
{
  "hex": "#731d99",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 281.613,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.19002,
    "h": 312.5
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#731D99
secondary
#73C151
accent
#EB3D72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731D99

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

Preview Lab → · Contrast checker → · Palette generator →

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