#731F76#731F76

#731F76 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.157 H 326.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#731F76
RGBrgb(115, 31, 118)
HSLhsl(298, 58%, 29%)
HSVhsv(298, 74%, 46%)
CMYKcmyk(2.5%, 73.7%, 0%, 53.7%)
CIE-LABlab(29.24, 47.38, -31.17)
CIE-LCHlch(29.24, 56.72, 326.66°)
OKLaboklab(41.06% 0.1306 -0.0865)
OKLCHoklch(41.06% 0.157 326.5)
XYZxyz(10.8300, 5.9335, 17.7109)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731F76 #22761F
analogous
#481F76 #731F76 #761F4E
triadic
#731F76 #76731F #1F7673
tetradic
#731F76 #76481F #22761F #1F4E76
square
#731F76 #76481F #22761F #1F4E76
split-complementary
#731F76 #4E761F #1F7648
monochromatic
#180618 #441246 #731F76 #A22CA6 #C942CD

Accessibility & contrast

On white

9.60
#731F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#731F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731F76
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731F76#FFFFFF#000000##FFFFFF
##731F761.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E78
Deuteranopia (green-blind)
#334974
Tritanopia (blue-blind)
#762D48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #731f76;
/* rgb */ color: rgb(115, 31, 118);
/* oklch */ color: oklch(41.1% 0.157 326.5);
Tailwind
colors: {
  custom: {
    50: '#9e649e',
    500: '#731f76',
    950: '#000000',
  },
}
SCSS
$custom: #731f76;
$custom-light: #9e649e;
$custom-dark: #000000;
JSON
{
  "hex": "#731f76",
  "rgb": {
    "r": 115,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 297.931,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41057,
    "c": 0.1567,
    "h": 326.5
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#731F76
secondary
#4BAA47
accent
#E2464C
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #731F76

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

Preview Lab → · Contrast checker → · Palette generator →

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