#731A7D#731A7D

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

Color values

HEX#731A7D
RGBrgb(115, 26, 125)
HSLhsl(294, 66%, 30%)
HSVhsv(294, 79%, 49%)
CMYKcmyk(8%, 79.2%, 0%, 51%)
CIE-LABlab(29.07, 50.43, -35.88)
CIE-LCHlch(29.07, 61.89, 324.57°)
OKLaboklab(41.07% 0.1352 -0.1002)
OKLCHoklch(41.07% 0.168 323.5)
XYZxyz(11.1410, 5.8650, 19.9433)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A7D #247D1A
analogous
#411A7D #731A7D #7D1A56
triadic
#731A7D #7D731A #1A7D73
tetradic
#731A7D #7D411A #247D1A #1A567D
square
#731A7D #7D411A #247D1A #1A567D
split-complementary
#731A7D #567D1A #1A7D41
monochromatic
#170519 #440F4A #731A7D #A225B0 #C73BD6

Accessibility & contrast

On white

9.66
#731A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#731A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A7D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A7D#FFFFFF#000000##FFFFFF
##731A7D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#752D4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #731a7d;
/* rgb */ color: rgb(115, 26, 125);
/* oklch */ color: oklch(41.1% 0.168 323.5);
Tailwind
colors: {
  custom: {
    50: '#9f62a3',
    500: '#731a7d',
    950: '#000000',
  },
}
SCSS
$custom: #731a7d;
$custom-light: #9f62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#731a7d",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 293.939,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.16829,
    "h": 323.5
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#731A7D
secondary
#4DB142
accent
#E93F50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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