#731E82#731E82

#731E82 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.168 H 321.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#731E82
RGBrgb(115, 30, 130)
HSLhsl(291, 63%, 31%)
HSVhsv(291, 77%, 51%)
CMYKcmyk(11.5%, 76.9%, 0%, 49%)
CIE-LABlab(29.88, 50.01, -37.73)
CIE-LCHlch(29.88, 62.64, 322.97°)
OKLaboklab(41.75% 0.1311 -0.1056)
OKLCHoklch(41.75% 0.168 321.1)
XYZxyz(11.5633, 6.1857, 21.6997)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E82 #2D821E
analogous
#411E82 #731E82 #821E5F
triadic
#731E82 #82731E #1E8273
tetradic
#731E82 #82411E #2D821E #1E5F82
square
#731E82 #82411E #2D821E #1E5F82
split-complementary
#731E82 #5F821E #1E8241
monochromatic
#1B071F #471350 #731E82 #9F29B4 #BF46D4

Accessibility & contrast

On white

9.39
#731E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#731E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E82
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E82#FFFFFF#000000##FFFFFF
##731E821.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#2A4980
Tritanopia (blue-blind)
#74324F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731e82;
/* rgb */ color: rgb(115, 30, 130);
/* oklch */ color: oklch(41.8% 0.168 321.1);
Tailwind
colors: {
  custom: {
    50: '#9f64a7',
    500: '#731e82',
    950: '#000000',
  },
}
SCSS
$custom: #731e82;
$custom-light: #9f64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#731e82",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 291,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.16834,
    "h": 321.1
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#731E82
secondary
#57B547
accent
#E6425B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731E82

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

Preview Lab → · Contrast checker → · Palette generator →

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