#731A7E#731A7E

#731A7E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.169 H 323.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#731A7E
RGBrgb(115, 26, 126)
HSLhsl(293, 66%, 30%)
HSVhsv(293, 79%, 49%)
CMYKcmyk(8.7%, 79.4%, 0%, 50.6%)
CIE-LABlab(29.14, 50.62, -36.40)
CIE-LCHlch(29.14, 62.35, 324.28°)
OKLaboklab(41.14% 0.1351 -0.1017)
OKLCHoklch(41.14% 0.169 323)
XYZxyz(11.2052, 5.8907, 20.2814)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A7E #257E1A
analogous
#411A7E #731A7E #7E1A57
triadic
#731A7E #7E731A #1A7E73
tetradic
#731A7E #7E411A #257E1A #1A577E
square
#731A7E #7E411A #257E1A #1A577E
split-complementary
#731A7E #577E1A #1A7E41
monochromatic
#170519 #45104B #731A7E #A124B1 #C63CD7

Accessibility & contrast

On white

9.64
#731A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#731A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A7E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A7E#FFFFFF#000000##FFFFFF
##731A7E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#752E4C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731a7e;
/* rgb */ color: rgb(115, 26, 126);
/* oklch */ color: oklch(41.1% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#9f62a4',
    500: '#731a7e',
    950: '#000000',
  },
}
SCSS
$custom: #731a7e;
$custom-light: #9f62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#731a7e",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 293.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.16914,
    "h": 323
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#731A7E
secondary
#4EB242
accent
#E93F52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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