#731C85#731C85

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

Color values

HEX#731C85
RGBrgb(115, 28, 133)
HSLhsl(290, 65%, 32%)
HSVhsv(290, 79%, 52%)
CMYKcmyk(13.5%, 78.9%, 0%, 47.8%)
CIE-LABlab(29.84, 51.29, -39.67)
CIE-LCHlch(29.84, 64.84, 322.28°)
OKLaboklab(41.79% 0.1326 -0.1113)
OKLCHoklch(41.79% 0.173 320)
XYZxyz(11.7186, 6.1694, 22.7593)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C85 #2E851C
analogous
#3F1C85 #731C85 #851C63
triadic
#731C85 #85731C #1C8573
tetradic
#731C85 #853F1C #2E851C #1C6385
square
#731C85 #853F1C #2E851C #1C6385
split-complementary
#731C85 #63851C #1C853F
monochromatic
#1C0720 #471152 #731C85 #9F27B8 #BE44D8

Accessibility & contrast

On white

9.40
#731C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#731C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C85
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C85#FFFFFF#000000##FFFFFF
##731C851.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#264983
Tritanopia (blue-blind)
#733250
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731c85;
/* rgb */ color: rgb(115, 28, 133);
/* oklch */ color: oklch(41.8% 0.173 320.0);
Tailwind
colors: {
  custom: {
    50: '#9f63a9',
    500: '#731c85',
    950: '#000000',
  },
}
SCSS
$custom: #731c85;
$custom-light: #9f63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#731c85",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 289.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41788,
    "c": 0.17313,
    "h": 320
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#731C85
secondary
#58B845
accent
#E8405D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731C85

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

Preview Lab → · Contrast checker → · Palette generator →

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