#731A73#731A73

#731A73 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.160 H 328.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#731A73
RGBrgb(115, 26, 115)
HSLhsl(300, 63%, 28%)
HSVhsv(300, 77%, 45%)
CMYKcmyk(0%, 77.4%, 0%, 54.9%)
CIE-LABlab(28.44, 48.63, -30.54)
CIE-LCHlch(28.44, 57.42, 327.87°)
OKLaboklab(40.42% 0.1357 -0.0846)
OKLCHoklch(40.42% 0.16 328)
XYZxyz(10.5340, 5.6222, 16.7467)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A73 #1A731A
analogous
#461A73 #731A73 #731A46
triadic
#731A73 #73731A #1A7373
tetradic
#731A73 #73461A #1A731A #1A4673
square
#731A73 #73461A #1A731A #1A4673
split-complementary
#731A73 #46731A #1A7346
monochromatic
#190619 #410F41 #731A73 #A525A5 #D236D2

Accessibility & contrast

On white

9.89
#731A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#731A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A73
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A73#FFFFFF#000000##FFFFFF
##731A731.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#334771
Tritanopia (blue-blind)
#772845
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731a73;
/* rgb */ color: rgb(115, 26, 115);
/* oklch */ color: oklch(40.4% 0.160 328.0);
Tailwind
colors: {
  custom: {
    50: '#9f619c',
    500: '#731a73',
    950: '#000000',
  },
}
SCSS
$custom: #731a73;
$custom-light: #9f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#731a73",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.15993,
    "h": 328
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#731A73
secondary
#41A841
accent
#E64242
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731A73

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

Preview Lab → · Contrast checker → · Palette generator →

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