#751C81#751C81

#751C81 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.171 H 322.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#751C81
RGBrgb(117, 28, 129)
HSLhsl(293, 64%, 31%)
HSVhsv(293, 78%, 51%)
CMYKcmyk(9.3%, 78.3%, 0%, 49.4%)
CIE-LABlab(29.91, 50.95, -37.03)
CIE-LCHlch(29.91, 62.98, 323.99°)
OKLaboklab(41.82% 0.1355 -0.1035)
OKLCHoklch(41.82% 0.171 322.6)
XYZxyz(11.7134, 6.1981, 21.3440)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C81 #28811C
analogous
#421C81 #751C81 #811C5A
triadic
#751C81 #81751C #1C8175
tetradic
#751C81 #81421C #28811C #1C5A81
square
#751C81 #81421C #28811C #1C5A81
split-complementary
#751C81 #5A811C #1C8142
monochromatic
#1A061C #47114F #751C81 #A327B3 #C442D6

Accessibility & contrast

On white

9.38
#751C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#751C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C81
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C81#FFFFFF#000000##FFFFFF
##751C811.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#77304E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #751c81;
/* rgb */ color: rgb(117, 28, 129);
/* oklch */ color: oklch(41.8% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#a063a6',
    500: '#751c81',
    950: '#000000',
  },
}
SCSS
$custom: #751c81;
$custom-light: #a063a6;
$custom-dark: #000000;
JSON
{
  "hex": "#751c81",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 292.871,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.17051,
    "h": 322.6
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#751C81
secondary
#52B444
accent
#E74054
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #751C81

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

Preview Lab → · Contrast checker → · Palette generator →

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