#731C7C#731C7C

#731C7C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.165 H 323.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#731C7C
RGBrgb(115, 28, 124)
HSLhsl(294, 63%, 30%)
HSVhsv(294, 77%, 49%)
CMYKcmyk(7.3%, 77.4%, 0%, 51.4%)
CIE-LABlab(29.24, 49.58, -34.97)
CIE-LCHlch(29.24, 60.67, 324.80°)
OKLaboklab(41.17% 0.1334 -0.0976)
OKLCHoklch(41.17% 0.165 323.8)
XYZxyz(11.1233, 5.9313, 19.6238)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C7C #257C1C
analogous
#431C7C #731C7C #7C1C55
triadic
#731C7C #7C731C #1C7C73
tetradic
#731C7C #7C431C #257C1C #1C557C
square
#731C7C #7C431C #257C1C #1C557C
split-complementary
#731C7C #557C1C #1C7C43
monochromatic
#170619 #45114A #731C7C #A127AE #C63FD4

Accessibility & contrast

On white

9.61
#731C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731C7C
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C7C#FFFFFF#000000##FFFFFF
##731C7C1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731c7c;
/* rgb */ color: rgb(115, 28, 124);
/* oklch */ color: oklch(41.2% 0.165 323.8);
Tailwind
colors: {
  custom: {
    50: '#9f63a2',
    500: '#731c7c',
    950: '#000000',
  },
}
SCSS
$custom: #731c7c;
$custom-light: #9f63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#731c7c",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 294.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.16532,
    "h": 323.8
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#731C7C
secondary
#4EB044
accent
#E64251
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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