#731474#731474

#731474 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.167 H 327.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#731474
RGBrgb(115, 20, 116)
HSLhsl(299, 71%, 27%)
HSVhsv(299, 83%, 45%)
CMYKcmyk(0.9%, 82.8%, 0%, 54.5%)
CIE-LABlab(27.86, 50.64, -32.09)
CIE-LCHlch(27.86, 59.95, 327.63°)
OKLaboklab(40.03% 0.1409 -0.0891)
OKLCHoklch(40.03% 0.167 327.7)
XYZxyz(10.4726, 5.4069, 17.0117)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731474 #157414
analogous
#431474 #731474 #741445
triadic
#731474 #747314 #147473
tetradic
#731474 #744314 #157414 #144574
square
#731474 #744314 #157414 #144574
split-complementary
#731474 #457414 #147443
monochromatic
#1A051A #3F0B40 #731474 #A71DA8 #D828DA

Accessibility & contrast

On white

10.09
#731474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#731474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731474
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731474#FFFFFF#000000##FFFFFF
##7314741.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#772545
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #731474;
/* rgb */ color: rgb(115, 20, 116);
/* oklch */ color: oklch(40.0% 0.167 327.7);
Tailwind
colors: {
  custom: {
    50: '#9f5f9c',
    500: '#731474',
    950: '#000000',
  },
}
SCSS
$custom: #731474;
$custom-light: #9f5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#731474",
  "rgb": {
    "r": 115,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 299.375,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.40033,
    "c": 0.16668,
    "h": 327.7
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#731474
secondary
#3BAA3A
accent
#ED3A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731474

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

Preview Lab → · Contrast checker → · Palette generator →

#731474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva