#731A9E#731A9E

#731A9E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.197 H 311.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#731A9E
RGBrgb(115, 26, 158)
HSLhsl(280, 72%, 36%)
HSVhsv(280, 84%, 62%)
CMYKcmyk(27.2%, 83.5%, 0%, 38%)
CIE-LABlab(31.47, 56.98, -52.43)
CIE-LCHlch(31.47, 77.43, 317.38°)
OKLaboklab(43.52% 0.1294 -0.1488)
OKLCHoklch(43.52% 0.197 311)
XYZxyz(13.6100, 6.8526, 32.9469)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731A9E #459E1A
analogous
#311A9E #731A9E #9E1A87
triadic
#731A9E #9E731A #1A9E73
tetradic
#731A9E #9E311A #459E1A #1A879E
square
#731A9E #9E311A #459E1A #1A879E
split-complementary
#731A9E #879E1A #1A9E31
monochromatic
#260935 #4D1169 #731A9E #9923D3 #B350E2

Accessibility & contrast

On white

8.86
#731A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#731A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731A9E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731A9E#FFFFFF#000000##FFFFFF
##731A9E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#6D3D5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731a9e;
/* rgb */ color: rgb(115, 26, 158);
/* oklch */ color: oklch(43.5% 0.197 311.0);
Tailwind
colors: {
  custom: {
    50: '#a064bc',
    500: '#731a9e',
    950: '#000000',
  },
}
SCSS
$custom: #731a9e;
$custom-light: #a064bc;
$custom-dark: #000000;
JSON
{
  "hex": "#731a9e",
  "rgb": {
    "r": 115,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 280.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.19715,
    "h": 311
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#731A9E
secondary
#75C54F
accent
#EE3974
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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