#731C97#731C97

#731C97 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.189 H 313.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#731C97
RGBrgb(115, 28, 151)
HSLhsl(282, 69%, 35%)
HSVhsv(282, 81%, 59%)
CMYKcmyk(23.8%, 81.5%, 0%, 40.8%)
CIE-LABlab(31.14, 54.90, -48.69)
CIE-LCHlch(31.14, 73.38, 318.43°)
OKLaboklab(43.12% 0.1295 -0.1378)
OKLCHoklch(43.12% 0.189 313.2)
XYZxyz(13.0704, 6.7101, 29.8788)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731C97 #40971C
analogous
#351C97 #731C97 #971C7D
triadic
#731C97 #97731C #1C9773
tetradic
#731C97 #97351C #40971C #1C7D97
square
#731C97 #97351C #40971C #1C7D97
split-complementary
#731C97 #7D971C #1C9735
monochromatic
#240930 #4C1263 #731C97 #9A26CB #B44FDE

Accessibility & contrast

On white

8.97
#731C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#731C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731C97
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731C97#FFFFFF#000000##FFFFFF
##731C971.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#084B94
Tritanopia (blue-blind)
#6F3B5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731c97;
/* rgb */ color: rgb(115, 28, 151);
/* oklch */ color: oklch(43.1% 0.189 313.2);
Tailwind
colors: {
  custom: {
    50: '#a064b6',
    500: '#731c97',
    950: '#000000',
  },
}
SCSS
$custom: #731c97;
$custom-light: #a064b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731c97",
  "rgb": {
    "r": 115,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 282.439,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.18914,
    "h": 313.2
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#731C97
secondary
#70C14E
accent
#EC3C70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731C97

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

Preview Lab → · Contrast checker → · Palette generator →

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