#751C7F#751C7F

#751C7F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.169 H 323.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#751C7F
RGBrgb(117, 28, 127)
HSLhsl(294, 64%, 30%)
HSVhsv(294, 78%, 50%)
CMYKcmyk(7.9%, 78%, 0%, 50.2%)
CIE-LABlab(29.78, 50.57, -35.98)
CIE-LCHlch(29.78, 62.07, 324.57°)
OKLaboklab(41.69% 0.1356 -0.1005)
OKLCHoklch(41.69% 0.169 323.5)
XYZxyz(11.5818, 6.1454, 20.6507)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C7F #267F1C
analogous
#431C7F #751C7F #7F1C58
triadic
#751C7F #7F751C #1C7F75
tetradic
#751C7F #7F431C #267F1C #1C587F
square
#751C7F #7F431C #267F1C #1C587F
split-complementary
#751C7F #587F1C #1C7F43
monochromatic
#19061B #47114D #751C7F #A327B1 #C640D5

Accessibility & contrast

On white

9.42
#751C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#751C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C7F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C7F#FFFFFF#000000##FFFFFF
##751C7F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#772F4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751c7f;
/* rgb */ color: rgb(117, 28, 127);
/* oklch */ color: oklch(41.7% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#a063a5',
    500: '#751c7f',
    950: '#000000',
  },
}
SCSS
$custom: #751c7f;
$custom-light: #a063a5;
$custom-dark: #000000;
JSON
{
  "hex": "#751c7f",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 293.939,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41685,
    "c": 0.1688,
    "h": 323.5
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#751C7F
secondary
#4FB344
accent
#E74152
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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