#731A74#731A74

#731A74 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.161 H 327.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#731A74
RGBrgb(115, 26, 116)
HSLhsl(299, 63%, 28%)
HSVhsv(299, 78%, 45%)
CMYKcmyk(0.9%, 77.6%, 0%, 54.5%)
CIE-LABlab(28.50, 48.80, -31.08)
CIE-LCHlch(28.50, 57.86, 327.51°)
OKLaboklab(40.49% 0.1357 -0.0862)
OKLCHoklch(40.49% 0.161 327.6)
XYZxyz(10.5919, 5.6453, 17.0514)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A74 #1B741A
analogous
#461A74 #731A74 #741A48
triadic
#731A74 #74731A #1A7473
tetradic
#731A74 #74461A #1B741A #1A4874
square
#731A74 #74461A #1B741A #1A4874
split-complementary
#731A74 #48741A #1A7446
monochromatic
#190619 #410F42 #731A74 #A525A6 #D036D2

Accessibility & contrast

On white

9.86
#731A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#731A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A74
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A74#FFFFFF#000000##FFFFFF
##731A741.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#324772
Tritanopia (blue-blind)
#772946
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731a74;
/* rgb */ color: rgb(115, 26, 116);
/* oklch */ color: oklch(40.5% 0.161 327.6);
Tailwind
colors: {
  custom: {
    50: '#9f629c',
    500: '#731a74',
    950: '#000000',
  },
}
SCSS
$custom: #731a74;
$custom-light: #9f629c;
$custom-dark: #000000;
JSON
{
  "hex": "#731a74",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 299.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40485,
    "c": 0.16076,
    "h": 327.6
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#731A74
secondary
#42A941
accent
#E64143
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731A74

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

Preview Lab → · Contrast checker → · Palette generator →

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