#731C80#731C80

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

Color values

HEX#731C80
RGBrgb(115, 28, 128)
HSLhsl(292, 64%, 31%)
HSVhsv(292, 78%, 50%)
CMYKcmyk(10.2%, 78.1%, 0%, 49.8%)
CIE-LABlab(29.50, 50.33, -37.08)
CIE-LCHlch(29.50, 62.51, 323.62°)
OKLaboklab(41.44% 0.1331 -0.1037)
OKLCHoklch(41.44% 0.169 322.1)
XYZxyz(11.3814, 6.0345, 20.9832)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C80 #29801C
analogous
#411C80 #731C80 #801C5B
triadic
#731C80 #80731C #1C8073
tetradic
#731C80 #80411C #29801C #1C5B80
square
#731C80 #80411C #29801C #1C5B80
split-complementary
#731C80 #5B801C #1C8041
monochromatic
#19061C #46114E #731C80 #A027B2 #C241D5

Accessibility & contrast

On white

9.52
#731C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731C80
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C80#FFFFFF#000000##FFFFFF
##731C801.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#74304D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731c80;
/* rgb */ color: rgb(115, 28, 128);
/* oklch */ color: oklch(41.4% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#9f63a5',
    500: '#731c80',
    950: '#000000',
  },
}
SCSS
$custom: #731c80;
$custom-light: #9f63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#731c80",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 292.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.16877,
    "h": 322.1
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#731C80
secondary
#53B344
accent
#E74156
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731C80

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

Preview Lab → · Contrast checker → · Palette generator →

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