#751572#751572

#751572 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.165 H 329.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#751572
RGBrgb(117, 21, 114)
HSLhsl(302, 70%, 27%)
HSVhsv(302, 82%, 46%)
CMYKcmyk(0%, 82.1%, 2.6%, 54.1%)
CIE-LABlab(28.20, 50.45, -30.25)
CIE-LCHlch(28.20, 58.82, 329.05°)
OKLaboklab(40.31% 0.1424 -0.0837)
OKLCHoklch(40.31% 0.165 329.5)
XYZxyz(10.6415, 5.5340, 16.4240)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751572 #157518
analogous
#481575 #751572 #751542
triadic
#751572 #727515 #157275
tetradic
#751572 #754815 #157518 #154275
square
#751572 #754815 #157518 #154275
split-complementary
#751572 #427515 #157548
monochromatic
#1A0519 #410C3F #751572 #A91EA5 #D92BD4

Accessibility & contrast

On white

9.97
#751572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751572
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751572#FFFFFF#000000##FFFFFF
##7515721.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#792444
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #751572;
/* rgb */ color: rgb(117, 21, 114);
/* oklch */ color: oklch(40.3% 0.165 329.5);
Tailwind
colors: {
  custom: {
    50: '#a0609b',
    500: '#751572',
    950: '#000000',
  },
}
SCSS
$custom: #751572;
$custom-light: #a0609b;
$custom-dark: #000000;
JSON
{
  "hex": "#751572",
  "rgb": {
    "r": 117,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 301.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.16515,
    "h": 329.5
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#751572
secondary
#3BAB3E
accent
#EC413B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751572

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

Preview Lab → · Contrast checker → · Palette generator →

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