#731C73#731C73

#731C73 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.158 H 328.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#731C73
RGBrgb(115, 28, 115)
HSLhsl(300, 61%, 28%)
HSVhsv(300, 76%, 45%)
CMYKcmyk(0%, 75.7%, 0%, 54.9%)
CIE-LABlab(28.68, 47.94, -30.16)
CIE-LCHlch(28.68, 56.64, 327.83°)
OKLaboklab(40.59% 0.1338 -0.0835)
OKLCHoklch(40.59% 0.158 328)
XYZxyz(10.5799, 5.7139, 16.7620)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C73 #1C731C
analogous
#471C73 #731C73 #731C47
triadic
#731C73 #73731C #1C7373
tetradic
#731C73 #73471C #1C731C #1C4773
square
#731C73 #73471C #1C731C #1C4773
split-complementary
#731C73 #47731C #1C7347
monochromatic
#190619 #421042 #731C73 #A428A4 #CF3ACF

Accessibility & contrast

On white

9.80
#731C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#731C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C73
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C73#FFFFFF#000000##FFFFFF
##731C731.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3C75
Deuteranopia (green-blind)
#344871
Tritanopia (blue-blind)
#772A46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731c73;
/* rgb */ color: rgb(115, 28, 115);
/* oklch */ color: oklch(40.6% 0.158 328.0);
Tailwind
colors: {
  custom: {
    50: '#9e629c',
    500: '#731c73',
    950: '#000000',
  },
}
SCSS
$custom: #731c73;
$custom-light: #9e629c;
$custom-dark: #000000;
JSON
{
  "hex": "#731c73",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.1577,
    "h": 328
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#731C73
secondary
#43A743
accent
#E44444
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731C73

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

Preview Lab → · Contrast checker → · Palette generator →

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