#731C7A#731C7A

#731C7A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.164 H 324.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#731C7A
RGBrgb(115, 28, 122)
HSLhsl(296, 63%, 29%)
HSVhsv(296, 77%, 48%)
CMYKcmyk(5.7%, 77%, 0%, 52.2%)
CIE-LABlab(29.11, 49.21, -33.92)
CIE-LCHlch(29.11, 59.76, 325.42°)
OKLaboklab(41.04% 0.1336 -0.0945)
OKLCHoklch(41.04% 0.164 324.7)
XYZxyz(10.9981, 5.8812, 18.9645)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C7A #237A1C
analogous
#441C7A #731C7A #7A1C52
triadic
#731C7A #7A731C #1C7A73
tetradic
#731C7A #7A441C #237A1C #1C527A
square
#731C7A #7A441C #237A1C #1C527A
split-complementary
#731C7A #527A1C #1C7A44
monochromatic
#170619 #441148 #731C7A #A227AC #C83ED3

Accessibility & contrast

On white

9.65
#731C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#731C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C7A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C7A#FFFFFF#000000##FFFFFF
##731C7A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#2F4878
Tritanopia (blue-blind)
#762D4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731c7a;
/* rgb */ color: rgb(115, 28, 122);
/* oklch */ color: oklch(41.0% 0.164 324.7);
Tailwind
colors: {
  custom: {
    50: '#9f63a1',
    500: '#731c7a',
    950: '#000000',
  },
}
SCSS
$custom: #731c7a;
$custom-light: #9f63a1;
$custom-dark: #000000;
JSON
{
  "hex": "#731c7a",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 295.532,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.1636,
    "h": 324.7
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#731C7A
secondary
#4CAE44
accent
#E6424E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #731C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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