#731A9D#731A9D

#731A9D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.196 H 311.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#731A9D
RGBrgb(115, 26, 157)
HSLhsl(281, 72%, 36%)
HSVhsv(281, 83%, 62%)
CMYKcmyk(26.8%, 83.4%, 0%, 38.4%)
CIE-LABlab(31.39, 56.77, -51.95)
CIE-LCHlch(31.39, 76.95, 317.54°)
OKLaboklab(43.44% 0.1296 -0.1473)
OKLCHoklch(43.44% 0.196 311.3)
XYZxyz(13.5243, 6.8183, 32.4954)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A9D #449D1A
analogous
#311A9D #731A9D #9D1A85
triadic
#731A9D #9D731A #1A9D73
tetradic
#731A9D #9D311A #449D1A #1A859D
square
#731A9D #9D311A #449D1A #1A859D
split-complementary
#731A9D #859D1A #1A9D31
monochromatic
#260934 #4D1168 #731A9D #9923D2 #B34FE2

Accessibility & contrast

On white

8.88
#731A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#731A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A9D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A9D#FFFFFF#000000##FFFFFF
##731A9D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#6D3D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731a9d;
/* rgb */ color: rgb(115, 26, 157);
/* oklch */ color: oklch(43.4% 0.196 311.3);
Tailwind
colors: {
  custom: {
    50: '#a064bb',
    500: '#731a9d',
    950: '#000000',
  },
}
SCSS
$custom: #731a9d;
$custom-light: #a064bb;
$custom-dark: #000000;
JSON
{
  "hex": "#731a9d",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 280.763,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43439,
    "c": 0.19625,
    "h": 311.3
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#731A9D
secondary
#74C44E
accent
#EE3973
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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