#731A80#731A80

#731A80 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 322.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#731A80
RGBrgb(115, 26, 128)
HSLhsl(292, 66%, 30%)
HSVhsv(292, 80%, 50%)
CMYKcmyk(10.2%, 79.7%, 0%, 49.8%)
CIE-LABlab(29.27, 51.00, -37.45)
CIE-LCHlch(29.27, 63.27, 323.71°)
OKLaboklab(41.28% 0.1349 -0.1048)
OKLCHoklch(41.28% 0.171 322.2)
XYZxyz(11.3355, 5.9428, 20.9679)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A80 #27801A
analogous
#401A80 #731A80 #801A5A
triadic
#731A80 #80731A #1A8073
tetradic
#731A80 #80401A #27801A #1A5A80
square
#731A80 #80401A #27801A #1A5A80
split-complementary
#731A80 #5A801A #1A8040
monochromatic
#18051A #45104D #731A80 #A124B3 #C43DD8

Accessibility & contrast

On white

9.60
#731A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#731A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A80
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A80#FFFFFF#000000##FFFFFF
##731A801.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#742F4D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731a80;
/* rgb */ color: rgb(115, 26, 128);
/* oklch */ color: oklch(41.3% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#9f62a5',
    500: '#731a80',
    950: '#000000',
  },
}
SCSS
$custom: #731a80;
$custom-light: #9f62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731a80",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 292.353,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.17085,
    "h": 322.2
  },
  "luminance": 0.05942
}

Semantic roles & 50–950 ramp

primary
#731A80
secondary
#50B442
accent
#E93F54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731A80

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

Preview Lab → · Contrast checker → · Palette generator →

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