#731A82#731A82

#731A82 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.173 H 321.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#731A82
RGBrgb(115, 26, 130)
HSLhsl(291, 67%, 31%)
HSVhsv(291, 80%, 51%)
CMYKcmyk(11.5%, 80%, 0%, 49%)
CIE-LABlab(29.40, 51.37, -38.49)
CIE-LCHlch(29.40, 64.19, 323.16°)
OKLaboklab(41.42% 0.1347 -0.1078)
OKLCHoklch(41.42% 0.173 321.3)
XYZxyz(11.4684, 5.9960, 21.6680)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A82 #29821A
analogous
#3F1A82 #731A82 #821A5D
triadic
#731A82 #82731A #1A8273
tetradic
#731A82 #823F1A #29821A #1A5D82
square
#731A82 #823F1A #29821A #1A5D82
split-complementary
#731A82 #5D821A #1A823F
monochromatic
#19061C #46104F #731A82 #A024B5 #C23ED8

Accessibility & contrast

On white

9.55
#731A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#731A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A82
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A82#FFFFFF#000000##FFFFFF
##731A821.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#284880
Tritanopia (blue-blind)
#74304E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731a82;
/* rgb */ color: rgb(115, 26, 130);
/* oklch */ color: oklch(41.4% 0.173 321.3);
Tailwind
colors: {
  custom: {
    50: '#9f62a7',
    500: '#731a82',
    950: '#000000',
  },
}
SCSS
$custom: #731a82;
$custom-light: #9f62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#731a82",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 291.346,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.17256,
    "h": 321.3
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#731A82
secondary
#53B642
accent
#EA3E57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731A82

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

Preview Lab → · Contrast checker → · Palette generator →

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