#731E8E#731E8E

#731E8E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.179 H 316.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#731E8E
RGBrgb(115, 30, 142)
HSLhsl(286, 65%, 34%)
HSVhsv(286, 79%, 56%)
CMYKcmyk(19%, 78.9%, 0%, 44.3%)
CIE-LABlab(30.70, 52.39, -43.86)
CIE-LCHlch(30.70, 68.32, 320.06°)
OKLaboklab(42.6% 0.1296 -0.1236)
OKLCHoklch(42.6% 0.179 316.3)
XYZxyz(12.4162, 6.5269, 26.1917)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E8E #398E1E
analogous
#3B1E8E #731E8E #8E1E71
triadic
#731E8E #8E731E #1E8E73
tetradic
#731E8E #8E3B1E #398E1E #1E718E
square
#731E8E #8E3B1E #398E1E #1E718E
split-complementary
#731E8E #718E1E #1E8E3B
monochromatic
#210929 #4A135B #731E8E #9C29C1 #B84DD9

Accessibility & contrast

On white

9.11
#731E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#731E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E8E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E8E#FFFFFF#000000##FFFFFF
##731E8E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#713756
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #731e8e;
/* rgb */ color: rgb(115, 30, 142);
/* oklch */ color: oklch(42.6% 0.179 316.3);
Tailwind
colors: {
  custom: {
    50: '#9f64b0',
    500: '#731e8e',
    950: '#000000',
  },
}
SCSS
$custom: #731e8e;
$custom-light: #9f64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#731e8e",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 285.536,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.17907,
    "h": 316.3
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#731E8E
secondary
#67BC4C
accent
#E84068
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #731E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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