#731E7E#731E7E

#731E7E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.165 H 322.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#731E7E
RGBrgb(115, 30, 126)
HSLhsl(293, 62%, 31%)
HSVhsv(293, 76%, 49%)
CMYKcmyk(8.7%, 76.2%, 0%, 50.6%)
CIE-LABlab(29.61, 49.24, -35.63)
CIE-LCHlch(29.61, 60.78, 324.11°)
OKLaboklab(41.48% 0.1314 -0.0995)
OKLCHoklch(41.48% 0.165 322.9)
XYZxyz(11.3000, 6.0804, 20.3131)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E7E #297E1E
analogous
#431E7E #731E7E #7E1E59
triadic
#731E7E #7E731E #1E7E73
tetradic
#731E7E #7E431E #297E1E #1E597E
square
#731E7E #7E431E #297E1E #1E597E
split-complementary
#731E7E #597E1E #1E7E43
monochromatic
#19061B #46124D #731E7E #A02AAF #C244D2

Accessibility & contrast

On white

9.48
#731E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#731E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E7E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E7E#FFFFFF#000000##FFFFFF
##731E7E1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#75304C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #731e7e;
/* rgb */ color: rgb(115, 30, 126);
/* oklch */ color: oklch(41.5% 0.165 322.9);
Tailwind
colors: {
  custom: {
    50: '#9f64a4',
    500: '#731e7e',
    950: '#000000',
  },
}
SCSS
$custom: #731e7e;
$custom-light: #9f64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#731e7e",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 293.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.16482,
    "h": 322.9
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#731E7E
secondary
#53B147
accent
#E54356
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #731E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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