#731472#731472

#731472 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.165 H 328.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#731472
RGBrgb(115, 20, 114)
HSLhsl(301, 70%, 26%)
HSVhsv(301, 83%, 45%)
CMYKcmyk(0%, 82.6%, 0.9%, 54.9%)
CIE-LABlab(27.74, 50.29, -31.01)
CIE-LCHlch(27.74, 59.08, 328.34°)
OKLaboklab(39.9% 0.1409 -0.086)
OKLCHoklch(39.9% 0.165 328.6)
XYZxyz(10.3575, 5.3609, 16.4056)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731472 #147315
analogous
#451473 #731472 #731443
triadic
#731472 #727314 #147273
tetradic
#731472 #734514 #147315 #144373
square
#731472 #734514 #147315 #144373
split-complementary
#731472 #437314 #147345
monochromatic
#1A051A #3F0B3E #731472 #A71DA6 #DA28D8

Accessibility & contrast

On white

10.14
#731472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #731472
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731472#FFFFFF#000000##FFFFFF
##7314721.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #731472;
/* rgb */ color: rgb(115, 20, 114);
/* oklch */ color: oklch(39.9% 0.165 328.6);
Tailwind
colors: {
  custom: {
    50: '#9f5f9b',
    500: '#731472',
    950: '#000000',
  },
}
SCSS
$custom: #731472;
$custom-light: #9f5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#731472",
  "rgb": {
    "r": 115,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 300.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.1651,
    "h": 328.6
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#731472
secondary
#3AA93B
accent
#ED3D3B
background
#FAF5F9
surface
#F4EAF2
border
#CEC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #731472

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

Preview Lab → · Contrast checker → · Palette generator →

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