#731A7A#731A7A

#731A7A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.166 H 324.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#731A7A
RGBrgb(115, 26, 122)
HSLhsl(296, 65%, 29%)
HSVhsv(296, 79%, 48%)
CMYKcmyk(5.7%, 78.7%, 0%, 52.2%)
CIE-LABlab(28.88, 49.88, -34.29)
CIE-LCHlch(28.88, 60.53, 325.49°)
OKLaboklab(40.87% 0.1354 -0.0956)
OKLCHoklch(40.87% 0.166 324.8)
XYZxyz(10.9522, 5.7895, 18.9492)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A7A #217A1A
analogous
#431A7A #731A7A #7A1A51
triadic
#731A7A #7A731A #1A7A73
tetradic
#731A7A #7A431A #217A1A #1A517A
square
#731A7A #7A431A #217A1A #1A517A
split-complementary
#731A7A #517A1A #1A7A43
monochromatic
#180519 #430F48 #731A7A #A325AC #CA39D5

Accessibility & contrast

On white

9.73
#731A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731A7A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A7A#FFFFFF#000000##FFFFFF
##731A7A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#2E4878
Tritanopia (blue-blind)
#762C49
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731a7a;
/* rgb */ color: rgb(115, 26, 122);
/* oklch */ color: oklch(40.9% 0.166 324.8);
Tailwind
colors: {
  custom: {
    50: '#9f62a1',
    500: '#731a7a',
    950: '#000000',
  },
}
SCSS
$custom: #731a7a;
$custom-light: #9f62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#731a7a",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 295.625,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.16575,
    "h": 324.8
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#731A7A
secondary
#49AE41
accent
#E8404C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #731A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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