#751C7A#751C7A

#751C7A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.165 H 325.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#751C7A
RGBrgb(117, 28, 122)
HSLhsl(297, 63%, 29%)
HSVhsv(297, 77%, 48%)
CMYKcmyk(4.1%, 77%, 0%, 52.2%)
CIE-LABlab(29.46, 49.65, -33.34)
CIE-LCHlch(29.46, 59.81, 326.12°)
OKLaboklab(41.36% 0.1359 -0.0928)
OKLCHoklch(41.36% 0.165 325.7)
XYZxyz(11.2640, 6.0183, 18.9769)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C7A #217A1C
analogous
#461C7A #751C7A #7A1C50
triadic
#751C7A #7A751C #1C7A75
tetradic
#751C7A #7A461C #217A1C #1C507A
square
#751C7A #7A461C #217A1C #1C507A
split-complementary
#751C7A #507A1C #1C7A46
monochromatic
#180619 #451148 #751C7A #A527AC #CB3ED3

Accessibility & contrast

On white

9.53
#751C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #751C7A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C7A#FFFFFF#000000##FFFFFF
##751C7A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#782C4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751c7a;
/* rgb */ color: rgb(117, 28, 122);
/* oklch */ color: oklch(41.4% 0.165 325.7);
Tailwind
colors: {
  custom: {
    50: '#a063a1',
    500: '#751c7a',
    950: '#000000',
  },
}
SCSS
$custom: #751c7a;
$custom-light: #a063a1;
$custom-dark: #000000;
JSON
{
  "hex": "#751c7a",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 296.809,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.16456,
    "h": 325.7
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#751C7A
secondary
#4AAE44
accent
#E6424B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #751C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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