#751C8A#751C8A

#751C8A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.178 H 318.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#751C8A
RGBrgb(117, 28, 138)
HSLhsl(289, 66%, 33%)
HSVhsv(289, 80%, 54%)
CMYKcmyk(15.2%, 79.7%, 0%, 45.9%)
CIE-LABlab(30.52, 52.67, -41.67)
CIE-LCHlch(30.52, 67.16, 321.65°)
OKLaboklab(42.45% 0.1345 -0.1171)
OKLCHoklch(42.45% 0.178 318.9)
XYZxyz(12.3382, 6.4480, 24.6345)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C8A #318A1C
analogous
#3E1C8A #751C8A #8A1C68
triadic
#751C8A #8A751C #1C8A75
tetradic
#751C8A #8A3E1C #318A1C #1C688A
square
#751C8A #8A3E1C #318A1C #1C688A
split-complementary
#751C8A #688A1C #1C8A3E
monochromatic
#1F0724 #4A1257 #751C8A #A026BD #BE47DA

Accessibility & contrast

On white

9.17
#751C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#751C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C8A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C8A#FFFFFF#000000##FFFFFF
##751C8A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#753453
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #751c8a;
/* rgb */ color: rgb(117, 28, 138);
/* oklch */ color: oklch(42.4% 0.178 318.9);
Tailwind
colors: {
  custom: {
    50: '#a164ad',
    500: '#751c8a',
    950: '#000000',
  },
}
SCSS
$custom: #751c8a;
$custom-light: #a164ad;
$custom-dark: #000000;
JSON
{
  "hex": "#751c8a",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 288.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.17831,
    "h": 318.9
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#751C8A
secondary
#5DBB46
accent
#E93F5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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