#751D84#751D84

#751D84 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.172 H 321.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#751D84
RGBrgb(117, 29, 132)
HSLhsl(291, 64%, 32%)
HSVhsv(291, 78%, 52%)
CMYKcmyk(11.4%, 78%, 0%, 48.2%)
CIE-LABlab(30.22, 51.17, -38.40)
CIE-LCHlch(30.22, 63.98, 323.12°)
OKLaboklab(42.11% 0.1343 -0.1075)
OKLCHoklch(42.11% 0.172 321.3)
XYZxyz(11.9399, 6.3272, 22.4177)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D84 #2C841D
analogous
#421D84 #751D84 #841D60
triadic
#751D84 #84751D #1D8475
tetradic
#751D84 #84421D #2C841D #1D6084
square
#751D84 #84421D #2C841D #1D6084
split-complementary
#751D84 #60841D #1D8442
monochromatic
#1C0720 #491252 #751D84 #A128B6 #C145D6

Accessibility & contrast

On white

9.27
#751D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#751D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751D84
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751D84#FFFFFF#000000##FFFFFF
##751D841.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004187
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#763250
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #751d84;
/* rgb */ color: rgb(117, 29, 132);
/* oklch */ color: oklch(42.1% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#a064a8',
    500: '#751d84',
    950: '#000000',
  },
}
SCSS
$custom: #751d84;
$custom-light: #a064a8;
$custom-dark: #000000;
JSON
{
  "hex": "#751d84",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 291.262,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.17205,
    "h": 321.3
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#751D84
secondary
#56B746
accent
#E74159
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #751D84

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

Preview Lab → · Contrast checker → · Palette generator →

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