#731C81#731C81

#731C81 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.170 H 321.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#731C81
RGBrgb(115, 28, 129)
HSLhsl(292, 64%, 31%)
HSVhsv(292, 78%, 51%)
CMYKcmyk(10.9%, 78.3%, 0%, 49.4%)
CIE-LABlab(29.57, 50.52, -37.60)
CIE-LCHlch(29.57, 62.97, 323.34°)
OKLaboklab(41.51% 0.133 -0.1052)
OKLCHoklch(41.51% 0.17 321.7)
XYZxyz(11.4475, 6.0610, 21.3315)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C81 #2A811C
analogous
#401C81 #731C81 #811C5C
triadic
#731C81 #81731C #1C8173
tetradic
#731C81 #81401C #2A811C #1C5C81
square
#731C81 #81401C #2A811C #1C5C81
split-complementary
#731C81 #5C811C #1C8140
monochromatic
#19061C #46114F #731C81 #A027B3 #C142D6

Accessibility & contrast

On white

9.49
#731C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#731C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C81
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C81#FFFFFF#000000##FFFFFF
##731C811.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731c81;
/* rgb */ color: rgb(115, 28, 129);
/* oklch */ color: oklch(41.5% 0.170 321.7);
Tailwind
colors: {
  custom: {
    50: '#9f63a6',
    500: '#731c81',
    950: '#000000',
  },
}
SCSS
$custom: #731c81;
$custom-light: #9f63a6;
$custom-dark: #000000;
JSON
{
  "hex": "#731c81",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 291.683,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41511,
    "c": 0.16964,
    "h": 321.7
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#731C81
secondary
#54B444
accent
#E74058
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731C81

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

Preview Lab → · Contrast checker → · Palette generator →

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