#731D9A#731D9A

#731D9A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.191 H 312.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#731D9A
RGBrgb(115, 29, 154)
HSLhsl(281, 68%, 36%)
HSVhsv(281, 81%, 60%)
CMYKcmyk(25.3%, 81.2%, 0%, 39.6%)
CIE-LABlab(31.48, 55.20, -49.97)
CIE-LCHlch(31.48, 74.46, 317.84°)
OKLaboklab(43.43% 0.1281 -0.1416)
OKLCHoklch(43.43% 0.191 312.1)
XYZxyz(13.3412, 6.8570, 31.1863)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D9A #449A1D
analogous
#341D9A #731D9A #9A1D82
triadic
#731D9A #9A731D #1D9A73
tetradic
#731D9A #9A341D #449A1D #1D829A
square
#731D9A #9A341D #449A1D #1D829A
split-complementary
#731D9A #829A1D #1D9A34
monochromatic
#260A33 #4D1366 #731D9A #9927CE #B353DF

Accessibility & contrast

On white

8.86
#731D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#731D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731D9A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731D9A#FFFFFF#000000##FFFFFF
##731D9A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004C97
Tritanopia (blue-blind)
#6E3C5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731d9a;
/* rgb */ color: rgb(115, 29, 154);
/* oklch */ color: oklch(43.4% 0.191 312.1);
Tailwind
colors: {
  custom: {
    50: '#a065b9',
    500: '#731d9a',
    950: '#000000',
  },
}
SCSS
$custom: #731d9a;
$custom-light: #a065b9;
$custom-dark: #000000;
JSON
{
  "hex": "#731d9a",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 281.28,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.19092,
    "h": 312.1
  },
  "luminance": 0.06857
}

Semantic roles & 50–950 ramp

primary
#731D9A
secondary
#74C251
accent
#EB3D73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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