#731E9A#731E9A

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

Color values

HEX#731E9A
RGBrgb(115, 30, 154)
HSLhsl(281, 67%, 36%)
HSVhsv(281, 81%, 60%)
CMYKcmyk(25.3%, 80.5%, 0%, 39.6%)
CIE-LABlab(31.59, 54.87, -49.79)
CIE-LCHlch(31.59, 74.09, 317.78°)
OKLaboklab(43.51% 0.1273 -0.141)
OKLCHoklch(43.51% 0.19 312.1)
XYZxyz(13.3662, 6.9069, 31.1946)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E9A #459A1E
analogous
#351E9A #731E9A #9A1E83
triadic
#731E9A #9A731E #1E9A73
tetradic
#731E9A #9A351E #459A1E #1E839A
square
#731E9A #9A351E #459A1E #1E839A
split-complementary
#731E9A #839A1E #1E9A35
monochromatic
#260A34 #4D1467 #731E9A #9928CD #B355DE

Accessibility & contrast

On white

8.82
#731E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#731E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E9A
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E9A#FFFFFF#000000##FFFFFF
##731E9A1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731e9a;
/* rgb */ color: rgb(115, 30, 154);
/* oklch */ color: oklch(43.5% 0.190 312.1);
Tailwind
colors: {
  custom: {
    50: '#a065b9',
    500: '#731e9a',
    950: '#000000',
  },
}
SCSS
$custom: #731e9a;
$custom-light: #a065b9;
$custom-dark: #000000;
JSON
{
  "hex": "#731e9a",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 281.129,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43509,
    "c": 0.18998,
    "h": 312.1
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#731E9A
secondary
#75C153
accent
#EA3E74
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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