#731972#731972

#731972 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.160 H 328.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#731972
RGBrgb(115, 25, 114)
HSLhsl(301, 64%, 27%)
HSVhsv(301, 78%, 45%)
CMYKcmyk(0%, 78.3%, 0.9%, 54.9%)
CIE-LABlab(28.26, 48.78, -30.18)
CIE-LCHlch(28.26, 57.36, 328.26°)
OKLaboklab(40.28% 0.1366 -0.0836)
OKLCHoklch(40.28% 0.16 328.5)
XYZxyz(10.4550, 5.5558, 16.4380)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#731972 #19731A
analogous
#471973 #731972 #731945
triadic
#731972 #727319 #197273
tetradic
#731972 #734719 #19731A #194573
square
#731972 #734719 #19731A #194573
split-complementary
#731972 #457319 #197347
monochromatic
#190519 #410E40 #731972 #A524A4 #D334D1

Accessibility & contrast

On white

9.95
#731972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#731972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #731972
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##731972#FFFFFF#000000##FFFFFF
##7319721.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063B74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#772745
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #731972;
/* rgb */ color: rgb(115, 25, 114);
/* oklch */ color: oklch(40.3% 0.160 328.5);
Tailwind
colors: {
  custom: {
    50: '#9f619b',
    500: '#731972',
    950: '#000000',
  },
}
SCSS
$custom: #731972;
$custom-light: #9f619b;
$custom-dark: #000000;
JSON
{
  "hex": "#731972",
  "rgb": {
    "r": 115,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 300.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40277,
    "c": 0.16018,
    "h": 328.5
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#731972
secondary
#40A841
accent
#E74241
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #731972

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

Preview Lab → · Contrast checker → · Palette generator →

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