#731C99#731C99

#731C99 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.191 H 312.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#731C99
RGBrgb(115, 28, 153)
HSLhsl(282, 69%, 35%)
HSVhsv(282, 82%, 60%)
CMYKcmyk(24.8%, 81.7%, 0%, 40%)
CIE-LABlab(31.29, 55.31, -49.67)
CIE-LCHlch(31.29, 74.34, 318.08°)
OKLaboklab(43.27% 0.1291 -0.1407)
OKLCHoklch(43.27% 0.191 312.5)
XYZxyz(13.2342, 6.7757, 30.7415)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C99 #42991C
analogous
#341C99 #731C99 #991C80
triadic
#731C99 #99731C #1C9973
tetradic
#731C99 #99341C #42991C #1C8099
square
#731C99 #99341C #42991C #1C8099
split-complementary
#731C99 #80991C #1C9934
monochromatic
#250932 #4C1365 #731C99 #9A25CD #B450DF

Accessibility & contrast

On white

8.92
#731C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#731C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C99
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C99#FFFFFF#000000##FFFFFF
##731C991.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#014B96
Tritanopia (blue-blind)
#6E3B5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731c99;
/* rgb */ color: rgb(115, 28, 153);
/* oklch */ color: oklch(43.3% 0.191 312.5);
Tailwind
colors: {
  custom: {
    50: '#a064b8',
    500: '#731c99',
    950: '#000000',
  },
}
SCSS
$custom: #731c99;
$custom-light: #a064b8;
$custom-dark: #000000;
JSON
{
  "hex": "#731c99",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 281.76,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.19093,
    "h": 312.5
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#731C99
secondary
#72C24F
accent
#EC3C71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731C99

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

Preview Lab → · Contrast checker → · Palette generator →

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