#731E81#731E81

#731E81 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.167 H 321.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#731E81
RGBrgb(115, 30, 129)
HSLhsl(292, 62%, 31%)
HSVhsv(292, 77%, 51%)
CMYKcmyk(10.9%, 76.7%, 0%, 49.4%)
CIE-LABlab(29.81, 49.82, -37.21)
CIE-LCHlch(29.81, 62.18, 323.25°)
OKLaboklab(41.68% 0.1312 -0.1041)
OKLCHoklch(41.68% 0.167 321.6)
XYZxyz(11.4965, 6.1590, 21.3479)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E81 #2C811E
analogous
#411E81 #731E81 #811E5D
triadic
#731E81 #81731E #1E8173
tetradic
#731E81 #81411E #2C811E #1E5D81
square
#731E81 #81411E #2C811E #1E5D81
split-complementary
#731E81 #5D811E #1E8141
monochromatic
#1A071E #47124F #731E81 #9F2AB3 #C046D4

Accessibility & contrast

On white

9.41
#731E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E81
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E81#FFFFFF#000000##FFFFFF
##731E811.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#2B497F
Tritanopia (blue-blind)
#74314E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731e81;
/* rgb */ color: rgb(115, 30, 129);
/* oklch */ color: oklch(41.7% 0.167 321.6);
Tailwind
colors: {
  custom: {
    50: '#9f64a6',
    500: '#731e81',
    950: '#000000',
  },
}
SCSS
$custom: #731e81;
$custom-light: #9f64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731e81",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 291.515,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.16746,
    "h": 321.6
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#731E81
secondary
#56B447
accent
#E54259
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731E81

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

Preview Lab → · Contrast checker → · Palette generator →

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