#731C7E#731C7E

#731C7E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.167 H 322.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#731C7E
RGBrgb(115, 28, 126)
HSLhsl(293, 64%, 30%)
HSVhsv(293, 78%, 49%)
CMYKcmyk(8.7%, 77.8%, 0%, 50.6%)
CIE-LABlab(29.37, 49.95, -36.03)
CIE-LCHlch(29.37, 61.59, 324.20°)
OKLaboklab(41.31% 0.1333 -0.1007)
OKLCHoklch(41.31% 0.167 322.9)
XYZxyz(11.2510, 5.9824, 20.2967)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C7E #277E1C
analogous
#421C7E #731C7E #7E1C58
triadic
#731C7E #7E731C #1C7E73
tetradic
#731C7E #7E421C #277E1C #1C587E
square
#731C7E #7E421C #277E1C #1C587E
split-complementary
#731C7E #587E1C #1C7E42
monochromatic
#18061A #45114C #731C7E #A127B0 #C440D5

Accessibility & contrast

On white

9.56
#731C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#731C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C7E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C7E#FFFFFF#000000##FFFFFF
##731C7E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#2C497C
Tritanopia (blue-blind)
#752F4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731c7e;
/* rgb */ color: rgb(115, 28, 126);
/* oklch */ color: oklch(41.3% 0.167 322.9);
Tailwind
colors: {
  custom: {
    50: '#9f63a4',
    500: '#731c7e',
    950: '#000000',
  },
}
SCSS
$custom: #731c7e;
$custom-light: #9f63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#731c7e",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 293.265,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41307,
    "c": 0.16704,
    "h": 322.9
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#731C7E
secondary
#50B244
accent
#E74154
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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