#731C7D#731C7D

#731C7D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.166 H 323.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#731C7D
RGBrgb(115, 28, 125)
HSLhsl(294, 63%, 30%)
HSVhsv(294, 78%, 49%)
CMYKcmyk(8%, 77.6%, 0%, 51%)
CIE-LABlab(29.30, 49.76, -35.50)
CIE-LCHlch(29.30, 61.13, 324.49°)
OKLaboklab(41.24% 0.1334 -0.0991)
OKLCHoklch(41.24% 0.166 323.4)
XYZxyz(11.1868, 5.9567, 19.9586)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C7D #267D1C
analogous
#421C7D #731C7D #7D1C57
triadic
#731C7D #7D731C #1C7D73
tetradic
#731C7D #7D421C #267D1C #1C577D
square
#731C7D #7D421C #267D1C #1C577D
split-complementary
#731C7D #577D1C #1C7D42
monochromatic
#170619 #45114B #731C7D #A127AF #C53FD4

Accessibility & contrast

On white

9.58
#731C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#731C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C7D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C7D#FFFFFF#000000##FFFFFF
##731C7D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F80
Deuteranopia (green-blind)
#2D487B
Tritanopia (blue-blind)
#752E4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731c7d;
/* rgb */ color: rgb(115, 28, 125);
/* oklch */ color: oklch(41.2% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#9f63a3',
    500: '#731c7d',
    950: '#000000',
  },
}
SCSS
$custom: #731c7d;
$custom-light: #9f63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#731c7d",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 293.814,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.16618,
    "h": 323.4
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#731C7D
secondary
#4FB144
accent
#E64152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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