#731B80#731B80

#731B80 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.170 H 322.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#731B80
RGBrgb(115, 27, 128)
HSLhsl(292, 65%, 30%)
HSVhsv(292, 79%, 50%)
CMYKcmyk(10.2%, 78.9%, 0%, 49.8%)
CIE-LABlab(29.38, 50.67, -37.26)
CIE-LCHlch(29.38, 62.89, 323.67°)
OKLaboklab(41.36% 0.134 -0.1043)
OKLCHoklch(41.36% 0.17 322.1)
XYZxyz(11.3580, 5.9879, 20.9754)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B80 #28801B
analogous
#401B80 #731B80 #801B5A
triadic
#731B80 #80731B #1B8073
tetradic
#731B80 #80401B #28801B #1B5A80
square
#731B80 #80401B #28801B #1B5A80
split-complementary
#731B80 #5A801B #1B8040
monochromatic
#18061B #46104D #731B80 #A026B3 #C33FD6

Accessibility & contrast

On white

9.56
#731B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#731B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B80
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B80#FFFFFF#000000##FFFFFF
##731B801.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2A487E
Tritanopia (blue-blind)
#742F4D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731b80;
/* rgb */ color: rgb(115, 27, 128);
/* oklch */ color: oklch(41.4% 0.170 322.1);
Tailwind
colors: {
  custom: {
    50: '#9f62a5',
    500: '#731b80',
    950: '#000000',
  },
}
SCSS
$custom: #731b80;
$custom-light: #9f62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731b80",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 292.277,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.16982,
    "h": 322.1
  },
  "luminance": 0.05987
}

Semantic roles & 50–950 ramp

primary
#731B80
secondary
#52B443
accent
#E84055
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731B80

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

Preview Lab → · Contrast checker → · Palette generator →

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