#731B82#731B82

#731B82 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.172 H 321.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#731B82
RGBrgb(115, 27, 130)
HSLhsl(291, 66%, 31%)
HSVhsv(291, 79%, 51%)
CMYKcmyk(11.5%, 79.2%, 0%, 49%)
CIE-LABlab(29.52, 51.05, -38.30)
CIE-LCHlch(29.52, 63.82, 323.12°)
OKLaboklab(41.5% 0.1338 -0.1073)
OKLCHoklch(41.5% 0.172 321.3)
XYZxyz(11.4910, 6.0410, 21.6755)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B82 #2A821B
analogous
#3F1B82 #731B82 #821B5D
triadic
#731B82 #82731B #1B8273
tetradic
#731B82 #823F1B #2A821B #1B5D82
square
#731B82 #823F1B #2A821B #1B5D82
split-complementary
#731B82 #5D821B #1B823F
monochromatic
#19061D #46104F #731B82 #A026B5 #C140D7

Accessibility & contrast

On white

9.51
#731B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#731B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B82
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B82#FFFFFF#000000##FFFFFF
##731B821.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#74304E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731b82;
/* rgb */ color: rgb(115, 27, 130);
/* oklch */ color: oklch(41.5% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#9f63a7',
    500: '#731b82',
    950: '#000000',
  },
}
SCSS
$custom: #731b82;
$custom-light: #9f63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#731b82",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 291.262,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41497,
    "c": 0.17155,
    "h": 321.3
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#731B82
secondary
#54B643
accent
#E93F58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731B82

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

Preview Lab → · Contrast checker → · Palette generator →

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