#751F72#751F72

#751F72 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.1% C 0.154 H 329.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#751F72
RGBrgb(117, 31, 114)
HSLhsl(302, 58%, 29%)
HSVhsv(302, 74%, 46%)
CMYKcmyk(0%, 73.5%, 2.6%, 54.1%)
CIE-LABlab(29.36, 47.15, -28.42)
CIE-LCHlch(29.36, 55.05, 328.92°)
OKLaboklab(41.13% 0.1329 -0.0785)
OKLCHoklch(41.13% 0.154 329.4)
XYZxyz(10.8633, 5.9776, 16.4980)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751F72 #1F7522
analogous
#4D1F75 #751F72 #751F47
triadic
#751F72 #72751F #1F7275
tetradic
#751F72 #754D1F #1F7522 #1F4775
square
#751F72 #754D1F #1F7522 #1F4775
split-complementary
#751F72 #47751F #1F754D
monochromatic
#180618 #451243 #751F72 #A52CA1 #CD42C8

Accessibility & contrast

On white

9.57
#751F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#751F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751F72
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751F72#FFFFFF#000000##FFFFFF
##751F721.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143E74
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#792A46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751f72;
/* rgb */ color: rgb(117, 31, 114);
/* oklch */ color: oklch(41.1% 0.154 329.4);
Tailwind
colors: {
  custom: {
    50: '#a0649b',
    500: '#751f72',
    950: '#000000',
  },
}
SCSS
$custom: #751f72;
$custom-light: #a0649b;
$custom-dark: #000000;
JSON
{
  "hex": "#751f72",
  "rgb": {
    "r": 117,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 302.093,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.15437,
    "h": 329.4
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#751F72
secondary
#47A94B
accent
#E14C46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751F72

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

Preview Lab → · Contrast checker → · Palette generator →

#751F72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva