#731B84#731B84

#731B84 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.173 H 320.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#731B84
RGBrgb(115, 27, 132)
HSLhsl(290, 66%, 31%)
HSVhsv(290, 80%, 52%)
CMYKcmyk(12.9%, 79.5%, 0%, 48.2%)
CIE-LABlab(29.65, 51.43, -39.34)
CIE-LCHlch(29.65, 64.75, 322.59°)
OKLaboklab(41.64% 0.1336 -0.1103)
OKLCHoklch(41.64% 0.173 320.4)
XYZxyz(11.6265, 6.0953, 22.3894)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B84 #2C841B
analogous
#3E1B84 #731B84 #841B60
triadic
#731B84 #84731B #1B8473
tetradic
#731B84 #843E1B #2C841B #1B6084
square
#731B84 #843E1B #2C841B #1B6084
split-complementary
#731B84 #60841B #1B843E
monochromatic
#1A061E #471151 #731B84 #9F25B7 #C041D8

Accessibility & contrast

On white

9.46
#731B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#731B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B84
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B84#FFFFFF#000000##FFFFFF
##731B841.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#264982
Tritanopia (blue-blind)
#74314F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731b84;
/* rgb */ color: rgb(115, 27, 132);
/* oklch */ color: oklch(41.6% 0.173 320.4);
Tailwind
colors: {
  custom: {
    50: '#9f63a8',
    500: '#731b84',
    950: '#000000',
  },
}
SCSS
$custom: #731b84;
$custom-light: #9f63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#731b84",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 290.286,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41636,
    "c": 0.17328,
    "h": 320.4
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#731B84
secondary
#56B743
accent
#E93F5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731B84

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

Preview Lab → · Contrast checker → · Palette generator →

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