#751D78#751D78

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

Color values

HEX#751D78
RGBrgb(117, 29, 120)
HSLhsl(298, 61%, 29%)
HSVhsv(298, 76%, 47%)
CMYKcmyk(2.5%, 75.8%, 0%, 52.9%)
CIE-LABlab(29.46, 48.94, -32.08)
CIE-LCHlch(29.46, 58.52, 326.76°)
OKLaboklab(41.32% 0.135 -0.0891)
OKLCHoklch(41.32% 0.162 326.6)
XYZxyz(11.1654, 6.0175, 18.3391)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751D78 #20781D
analogous
#481D78 #751D78 #781D4E
triadic
#751D78 #78751D #1D7875
tetradic
#751D78 #78481D #20781D #1D4E78
square
#751D78 #78481D #20781D #1D4E78
split-complementary
#751D78 #4E781D #1D7848
monochromatic
#180619 #451147 #751D78 #A529A9 #CC3FD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##751D78#FFFFFF#000000##FFFFFF
##751D781.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)
#053E7A
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#782C49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751d78;
/* rgb */ color: rgb(117, 29, 120);
/* oklch */ color: oklch(41.3% 0.162 326.6);
Tailwind
colors: {
  custom: {
    50: '#a0639f',
    500: '#751d78',
    950: '#000000',
  },
}
SCSS
$custom: #751d78;
$custom-light: #a0639f;
$custom-dark: #000000;
JSON
{
  "hex": "#751d78",
  "rgb": {
    "r": 117,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 298.022,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.16176,
    "h": 326.6
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#751D78
secondary
#48AC45
accent
#E44449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751D78

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

Preview Lab → · Contrast checker → · Palette generator →

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