#731C87#731C87

#731C87 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.175 H 319.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#731C87
RGBrgb(115, 28, 135)
HSLhsl(289, 66%, 32%)
HSVhsv(289, 79%, 53%)
CMYKcmyk(14.8%, 79.3%, 0%, 47.1%)
CIE-LABlab(29.97, 51.68, -40.69)
CIE-LCHlch(29.97, 65.78, 321.78°)
OKLaboklab(41.93% 0.1324 -0.1143)
OKLCHoklch(41.93% 0.175 319.2)
XYZxyz(11.8581, 6.2252, 23.4939)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C87 #30871C
analogous
#3E1C87 #731C87 #871C66
triadic
#731C87 #87731C #1C8773
tetradic
#731C87 #873E1C #30871C #1C6687
square
#731C87 #873E1C #30871C #1C6687
split-complementary
#731C87 #66871C #1C873E
monochromatic
#1D0722 #481154 #731C87 #9E27BA #BD45D8

Accessibility & contrast

On white

9.35
#731C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731C87
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C87#FFFFFF#000000##FFFFFF
##731C871.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#244985
Tritanopia (blue-blind)
#733351
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731c87;
/* rgb */ color: rgb(115, 28, 135);
/* oklch */ color: oklch(41.9% 0.175 319.2);
Tailwind
colors: {
  custom: {
    50: '#9f63ab',
    500: '#731c87',
    950: '#000000',
  },
}
SCSS
$custom: #731c87;
$custom-light: #9f63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#731c87",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 288.785,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.17489,
    "h": 319.2
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#731C87
secondary
#5BBA45
accent
#E93F5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731C87

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

Preview Lab → · Contrast checker → · Palette generator →

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