#731B89#731B89

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

Color values

HEX#731B89
RGBrgb(115, 27, 137)
HSLhsl(288, 67%, 32%)
HSVhsv(288, 80%, 54%)
CMYKcmyk(16.1%, 80.3%, 0%, 46.3%)
CIE-LABlab(30.00, 52.40, -41.90)
CIE-LCHlch(30.00, 67.09, 321.36°)
OKLaboklab(41.99% 0.1329 -0.1178)
OKLCHoklch(41.99% 0.178 318.4)
XYZxyz(11.9769, 6.2354, 24.2347)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B89 #31891B
analogous
#3C1B89 #731B89 #891B68
triadic
#731B89 #89731B #1B8973
tetradic
#731B89 #893C1B #31891B #1B6889
square
#731B89 #893C1B #31891B #1B6889
split-complementary
#731B89 #68891B #1B893C
monochromatic
#1D0723 #481156 #731B89 #9E25BC #BC44DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##731B89#FFFFFF#000000##FFFFFF
##731B891.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)
#00418C
Deuteranopia (green-blind)
#214987
Tritanopia (blue-blind)
#723352
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #731b89;
/* rgb */ color: rgb(115, 27, 137);
/* oklch */ color: oklch(42.0% 0.178 318.4);
Tailwind
colors: {
  custom: {
    50: '#9f63ac',
    500: '#731b89',
    950: '#000000',
  },
}
SCSS
$custom: #731b89;
$custom-light: #9f63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#731b89",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 288,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.17764,
    "h": 318.4
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#731B89
secondary
#5CBC44
accent
#EA3E60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731B89

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

Preview Lab → · Contrast checker → · Palette generator →

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