#731C9D#731C9D

#731C9D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.195 H 311.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#731C9D
RGBrgb(115, 28, 157)
HSLhsl(280, 70%, 36%)
HSVhsv(280, 82%, 62%)
CMYKcmyk(26.8%, 82.2%, 0%, 38.4%)
CIE-LABlab(31.60, 56.15, -51.60)
CIE-LCHlch(31.60, 76.26, 317.42°)
OKLaboklab(43.59% 0.1282 -0.1464)
OKLCHoklch(43.59% 0.195 311.2)
XYZxyz(13.5701, 6.9100, 32.5107)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C9D #469D1C
analogous
#331C9D #731C9D #9D1C87
triadic
#731C9D #9D731C #1C9D73
tetradic
#731C9D #9D331C #469D1C #1C879D
square
#731C9D #9D331C #469D1C #1C879D
split-complementary
#731C9D #879D1C #1C9D33
monochromatic
#270935 #4D1369 #731C9D #9925D1 #B253E0

Accessibility & contrast

On white

8.82
#731C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#731C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C9D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C9D#FFFFFF#000000##FFFFFF
##731C9D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#6D3D5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731c9d;
/* rgb */ color: rgb(115, 28, 157);
/* oklch */ color: oklch(43.6% 0.195 311.2);
Tailwind
colors: {
  custom: {
    50: '#a064bb',
    500: '#731c9d',
    950: '#000000',
  },
}
SCSS
$custom: #731c9d;
$custom-light: #a064bb;
$custom-dark: #000000;
JSON
{
  "hex": "#731c9d",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 280.465,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43587,
    "c": 0.19455,
    "h": 311.2
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#731C9D
secondary
#77C351
accent
#ED3B75
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #731C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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