#731E91#731E91

#731E91 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.182 H 315.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#731E91
RGBrgb(115, 30, 145)
HSLhsl(284, 66%, 34%)
HSVhsv(284, 79%, 57%)
CMYKcmyk(20.7%, 79.3%, 0%, 43.1%)
CIE-LABlab(30.92, 53.00, -45.36)
CIE-LCHlch(30.92, 69.76, 319.44°)
OKLaboklab(42.82% 0.1291 -0.128)
OKLCHoklch(42.82% 0.182 315.2)
XYZxyz(12.6445, 6.6182, 27.3940)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E91 #3C911E
analogous
#3A1E91 #731E91 #911E76
triadic
#731E91 #91731E #1E9173
tetradic
#731E91 #913A1E #3C911E #1E7691
square
#731E91 #913A1E #3C911E #1E7691
split-complementary
#731E91 #76911E #1E913A
monochromatic
#23092C #4B145E #731E91 #9B28C4 #B64FDB

Accessibility & contrast

On white

9.04
#731E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#731E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E91
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E91#FFFFFF#000000##FFFFFF
##731E911.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#194B8F
Tritanopia (blue-blind)
#713957
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #731e91;
/* rgb */ color: rgb(115, 30, 145);
/* oklch */ color: oklch(42.8% 0.182 315.2);
Tailwind
colors: {
  custom: {
    50: '#9f65b2',
    500: '#731e91',
    950: '#000000',
  },
}
SCSS
$custom: #731e91;
$custom-light: #9f65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#731e91",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 284.348,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42824,
    "c": 0.18179,
    "h": 315.2
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#731E91
secondary
#6BBD4D
accent
#E93F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E91

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

Preview Lab → · Contrast checker → · Palette generator →

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