#731372#731372

#731372 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.166 H 328.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#731372
RGBrgb(115, 19, 114)
HSLhsl(301, 72%, 26%)
HSVhsv(301, 83%, 45%)
CMYKcmyk(0%, 83.5%, 0.9%, 54.9%)
CIE-LABlab(27.64, 50.57, -31.16)
CIE-LCHlch(27.64, 59.40, 328.36°)
OKLaboklab(39.84% 0.1417 -0.0864)
OKLCHoklch(39.84% 0.166 328.6)
XYZxyz(10.3403, 5.3263, 16.3998)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731372 #137314
analogous
#441373 #731372 #731342
triadic
#731372 #727313 #137273
tetradic
#731372 #734413 #137314 #134273
square
#731372 #734413 #137314 #134273
split-complementary
#731372 #427313 #137344
monochromatic
#1A041A #3E0A3E #731372 #A81CA6 #DB25D9

Accessibility & contrast

On white

10.17
#731372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#731372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731372
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731372#FFFFFF#000000##FFFFFF
##7313721.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#314670
Tritanopia (blue-blind)
#772443
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #731372;
/* rgb */ color: rgb(115, 19, 114);
/* oklch */ color: oklch(39.8% 0.166 328.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f9b',
    500: '#731372',
    950: '#000000',
  },
}
SCSS
$custom: #731372;
$custom-light: #9f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#731372",
  "rgb": {
    "r": 115,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 300.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.16598,
    "h": 328.6
  },
  "luminance": 0.05325
}

Semantic roles & 50–950 ramp

primary
#731372
secondary
#38AA39
accent
#EE3B39
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731372

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

Preview Lab → · Contrast checker → · Palette generator →

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