#731E97#731E97

#731E97 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.187 H 313.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#731E97
RGBrgb(115, 30, 151)
HSLhsl(282, 67%, 35%)
HSVhsv(282, 80%, 59%)
CMYKcmyk(23.8%, 80.1%, 0%, 40.8%)
CIE-LABlab(31.37, 54.24, -48.32)
CIE-LCHlch(31.37, 72.64, 318.30°)
OKLaboklab(43.28% 0.1279 -0.1367)
OKLCHoklch(43.28% 0.187 313.1)
XYZxyz(13.1194, 6.8082, 29.8952)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731E97 #42971E
analogous
#371E97 #731E97 #971E7E
triadic
#731E97 #97731E #1E9773
tetradic
#731E97 #97371E #42971E #1E7E97
square
#731E97 #97371E #42971E #1E7E97
split-complementary
#731E97 #7E971E #1E9737
monochromatic
#250A31 #4C1464 #731E97 #9A28CA #B453DD

Accessibility & contrast

On white

8.89
#731E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#731E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731E97
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731E97#FFFFFF#000000##FFFFFF
##731E971.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#6F3B5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #731e97;
/* rgb */ color: rgb(115, 30, 151);
/* oklch */ color: oklch(43.3% 0.187 313.1);
Tailwind
colors: {
  custom: {
    50: '#a065b6',
    500: '#731e97',
    950: '#000000',
  },
}
SCSS
$custom: #731e97;
$custom-light: #a065b6;
$custom-dark: #000000;
JSON
{
  "hex": "#731e97",
  "rgb": {
    "r": 115,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 282.149,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.18724,
    "h": 313.1
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#731E97
secondary
#72C051
accent
#EA3E71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #731E97

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

Preview Lab → · Contrast checker → · Palette generator →

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