#731B99#731B99

#731B99 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.2% C 0.192 H 312.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#731B99
RGBrgb(115, 27, 153)
HSLhsl(282, 70%, 35%)
HSVhsv(282, 82%, 60%)
CMYKcmyk(24.8%, 82.4%, 0%, 40%)
CIE-LABlab(31.18, 55.63, -49.85)
CIE-LCHlch(31.18, 74.70, 318.14°)
OKLaboklab(43.2% 0.1299 -0.1412)
OKLCHoklch(43.2% 0.192 312.6)
XYZxyz(13.2109, 6.7290, 30.7337)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731B99 #41991B
analogous
#341B99 #731B99 #991B80
triadic
#731B99 #99731B #1B9973
tetradic
#731B99 #99341B #41991B #1B8099
square
#731B99 #99341B #41991B #1B8099
split-complementary
#731B99 #80991B #1B9934
monochromatic
#250931 #4C1265 #731B99 #9A24CD #B44FE0

Accessibility & contrast

On white

8.95
#731B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#731B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731B99
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731B99#FFFFFF#000000##FFFFFF
##731B991.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#6F3B5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731b99;
/* rgb */ color: rgb(115, 27, 153);
/* oklch */ color: oklch(43.2% 0.192 312.6);
Tailwind
colors: {
  custom: {
    50: '#a064b8',
    500: '#731b99',
    950: '#000000',
  },
}
SCSS
$custom: #731b99;
$custom-light: #a064b8;
$custom-dark: #000000;
JSON
{
  "hex": "#731b99",
  "rgb": {
    "r": 115,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 281.905,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43196,
    "c": 0.19183,
    "h": 312.6
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#731B99
secondary
#71C24E
accent
#ED3B71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731B99

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

Preview Lab → · Contrast checker → · Palette generator →

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