#731D7C#731D7C

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

Color values

HEX#731D7C
RGBrgb(115, 29, 124)
HSLhsl(294, 62%, 30%)
HSVhsv(294, 77%, 49%)
CMYKcmyk(7.3%, 76.6%, 0%, 51.4%)
CIE-LABlab(29.36, 49.23, -34.78)
CIE-LCHlch(29.36, 60.27, 324.76°)
OKLaboklab(41.26% 0.1325 -0.097)
OKLCHoklch(41.26% 0.164 323.8)
XYZxyz(11.1474, 5.9795, 19.6319)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731D7C #267C1D
analogous
#441D7C #731D7C #7C1D55
triadic
#731D7C #7C731D #1D7C73
tetradic
#731D7C #7C441D #267C1D #1D557C
square
#731D7C #7C441D #267C1D #1D557C
split-complementary
#731D7C #557C1D #1D7C44
monochromatic
#170619 #45114A #731D7C #A129AE #C541D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731D7C#FFFFFF#000000##FFFFFF
##731D7C1.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)
#003F7F
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#752E4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731d7c;
/* rgb */ color: rgb(115, 29, 124);
/* oklch */ color: oklch(41.3% 0.164 323.8);
Tailwind
colors: {
  custom: {
    50: '#9f63a2',
    500: '#731d7c',
    950: '#000000',
  },
}
SCSS
$custom: #731d7c;
$custom-light: #9f63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#731d7c",
  "rgb": {
    "r": 115,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 294.316,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.16421,
    "h": 323.8
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#731D7C
secondary
#4FB045
accent
#E54352
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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