#751972#751972

#751972 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.161 H 329.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#751972
RGBrgb(117, 25, 114)
HSLhsl(302, 65%, 28%)
HSVhsv(302, 79%, 46%)
CMYKcmyk(0%, 78.6%, 2.6%, 54.1%)
CIE-LABlab(28.62, 49.24, -29.58)
CIE-LCHlch(28.62, 57.44, 329.00°)
OKLaboklab(40.6% 0.1389 -0.0818)
OKLCHoklch(40.6% 0.161 329.5)
XYZxyz(10.7209, 5.6929, 16.4505)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751972 #19751C
analogous
#4A1975 #751972 #751944
triadic
#751972 #727519 #197275
tetradic
#751972 #754A19 #19751C #194475
square
#751972 #754A19 #19751C #194475
split-complementary
#751972 #447519 #19754A
monochromatic
#190519 #430E41 #751972 #A724A3 #D435CF

Accessibility & contrast

On white

9.82
#751972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#751972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751972
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751972#FFFFFF#000000##FFFFFF
##7519721.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#792745
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #751972;
/* rgb */ color: rgb(117, 25, 114);
/* oklch */ color: oklch(40.6% 0.161 329.5);
Tailwind
colors: {
  custom: {
    50: '#a0619b',
    500: '#751972',
    950: '#000000',
  },
}
SCSS
$custom: #751972;
$custom-light: #a0619b;
$custom-dark: #000000;
JSON
{
  "hex": "#751972",
  "rgb": {
    "r": 117,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 301.957,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.16121,
    "h": 329.5
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#751972
secondary
#40AA43
accent
#E84640
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751972

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

Preview Lab → · Contrast checker → · Palette generator →

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