#731C74#731C74

#731C74 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.159 H 327.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#731C74
RGBrgb(115, 28, 116)
HSLhsl(299, 61%, 28%)
HSVhsv(299, 76%, 45%)
CMYKcmyk(0.9%, 75.9%, 0%, 54.5%)
CIE-LABlab(28.74, 48.12, -30.70)
CIE-LCHlch(28.74, 57.07, 327.46°)
OKLaboklab(40.66% 0.1337 -0.0851)
OKLCHoklch(40.66% 0.159 327.5)
XYZxyz(10.6377, 5.7371, 17.0667)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C74 #1D741C
analogous
#471C74 #731C74 #741C49
triadic
#731C74 #74731C #1C7473
tetradic
#731C74 #74471C #1D741C #1C4974
square
#731C74 #74471C #1D741C #1C4974
split-complementary
#731C74 #49741C #1C7447
monochromatic
#180619 #421043 #731C74 #A428A5 #CE3BD0

Accessibility & contrast

On white

9.78
#731C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#731C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C74
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C74#FFFFFF#000000##FFFFFF
##731C741.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083D76
Deuteranopia (green-blind)
#334872
Tritanopia (blue-blind)
#772A46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731c74;
/* rgb */ color: rgb(115, 28, 116);
/* oklch */ color: oklch(40.7% 0.159 327.5);
Tailwind
colors: {
  custom: {
    50: '#9e629c',
    500: '#731c74',
    950: '#000000',
  },
}
SCSS
$custom: #731c74;
$custom-light: #9e629c;
$custom-dark: #000000;
JSON
{
  "hex": "#731c74",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 299.318,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.15854,
    "h": 327.5
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#731C74
secondary
#45A843
accent
#E44445
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731C74

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

Preview Lab → · Contrast checker → · Palette generator →

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