#731E85#731E85

#731E85 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.171 H 319.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#731E85
RGBrgb(115, 30, 133)
HSLhsl(290, 63%, 32%)
HSVhsv(290, 77%, 52%)
CMYKcmyk(13.5%, 77.4%, 0%, 47.8%)
CIE-LABlab(30.08, 50.59, -39.28)
CIE-LCHlch(30.08, 64.05, 322.18°)
OKLaboklab(41.96% 0.1308 -0.1102)
OKLCHoklch(41.96% 0.171 319.9)
XYZxyz(11.7676, 6.2674, 22.7756)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E85 #30851E
analogous
#401E85 #731E85 #851E63
triadic
#731E85 #85731E #1E8573
tetradic
#731E85 #85401E #30851E #1E6385
square
#731E85 #85401E #30851E #1E6385
split-complementary
#731E85 #63851E #1E8540
monochromatic
#1D0721 #481353 #731E85 #9E29B7 #BD48D6

Accessibility & contrast

On white

9.32
#731E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#731E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E85
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E85#FFFFFF#000000##FFFFFF
##731E851.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#274A83
Tritanopia (blue-blind)
#733350
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731e85;
/* rgb */ color: rgb(115, 30, 133);
/* oklch */ color: oklch(42.0% 0.171 319.9);
Tailwind
colors: {
  custom: {
    50: '#9f64a9',
    500: '#731e85',
    950: '#000000',
  },
}
SCSS
$custom: #731e85;
$custom-light: #9f64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731e85",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 289.515,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.171,
    "h": 319.9
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#731E85
secondary
#5BB847
accent
#E6425E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731E85

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

Preview Lab → · Contrast checker → · Palette generator →

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