#731C76#731C76

#731C76 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.160 H 326.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#731C76
RGBrgb(115, 28, 118)
HSLhsl(298, 62%, 29%)
HSVhsv(298, 76%, 46%)
CMYKcmyk(2.5%, 76.3%, 0%, 53.7%)
CIE-LABlab(28.86, 48.48, -31.78)
CIE-LCHlch(28.86, 57.96, 326.75°)
OKLaboklab(40.78% 0.1337 -0.0883)
OKLCHoklch(40.78% 0.16 326.6)
XYZxyz(10.7553, 5.7841, 17.6860)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C76 #1F761C
analogous
#461C76 #731C76 #761C4C
triadic
#731C76 #76731C #1C7673
tetradic
#731C76 #76461C #1F761C #1C4C76
square
#731C76 #76461C #1F761C #1C4C76
split-complementary
#731C76 #4C761C #1C7646
monochromatic
#180619 #431045 #731C76 #A328A7 #CC3CD1

Accessibility & contrast

On white

9.74
#731C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#731C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C76
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C76#FFFFFF#000000##FFFFFF
##731C761.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D78
Deuteranopia (green-blind)
#324874
Tritanopia (blue-blind)
#762B47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731c76;
/* rgb */ color: rgb(115, 28, 118);
/* oklch */ color: oklch(40.8% 0.160 326.6);
Tailwind
colors: {
  custom: {
    50: '#9e629e',
    500: '#731c76',
    950: '#000000',
  },
}
SCSS
$custom: #731c76;
$custom-light: #9e629e;
$custom-dark: #000000;
JSON
{
  "hex": "#731c76",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 298,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.16021,
    "h": 326.6
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#731C76
secondary
#47AA44
accent
#E54348
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731C76

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

Preview Lab → · Contrast checker → · Palette generator →

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