#731E95#731E95

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

Color values

HEX#731E95
RGBrgb(115, 30, 149)
HSLhsl(283, 66%, 35%)
HSVhsv(283, 80%, 58%)
CMYKcmyk(22.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(31.22, 53.82, -47.34)
CIE-LCHlch(31.22, 71.68, 318.67°)
OKLaboklab(43.13% 0.1283 -0.1338)
OKLCHoklch(43.13% 0.185 313.8)
XYZxyz(12.9584, 6.7437, 29.0470)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E95 #40951E
analogous
#371E95 #731E95 #951E7B
triadic
#731E95 #95731E #1E9573
tetradic
#731E95 #95371E #40951E #1E7B95
square
#731E95 #95371E #40951E #1E7B95
split-complementary
#731E95 #7B951E #1E9537
monochromatic
#24092F #4C1462 #731E95 #9A28C8 #B451DC

Accessibility & contrast

On white

8.94
#731E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731E95
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E95#FFFFFF#000000##FFFFFF
##731E951.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#114B93
Tritanopia (blue-blind)
#703A5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731e95;
/* rgb */ color: rgb(115, 30, 149);
/* oklch */ color: oklch(43.1% 0.185 313.8);
Tailwind
colors: {
  custom: {
    50: '#a065b5',
    500: '#731e95',
    950: '#000000',
  },
}
SCSS
$custom: #731e95;
$custom-light: #a065b5;
$custom-dark: #000000;
JSON
{
  "hex": "#731e95",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 282.857,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.18542,
    "h": 313.8
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#731E95
secondary
#70BF50
accent
#E93E6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E95

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

Preview Lab → · Contrast checker → · Palette generator →

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