#751C78#751C78

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

Color values

HEX#751C78
RGBrgb(117, 28, 120)
HSLhsl(298, 62%, 29%)
HSVhsv(298, 77%, 47%)
CMYKcmyk(2.5%, 76.7%, 0%, 52.9%)
CIE-LABlab(29.33, 49.29, -32.27)
CIE-LCHlch(29.33, 58.92, 326.79°)
OKLaboklab(41.23% 0.136 -0.0896)
OKLCHoklch(41.23% 0.163 326.6)
XYZxyz(11.1413, 5.9693, 18.3310)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751C78 #1F781C
analogous
#471C78 #751C78 #781C4D
triadic
#751C78 #78751C #1C7875
tetradic
#751C78 #78471C #1F781C #1C4D78
square
#751C78 #78471C #1F781C #1C4D78
split-complementary
#751C78 #4D781C #1C7847
monochromatic
#180619 #451046 #751C78 #A528AA #CD3DD2

Accessibility & contrast

On white

9.57
#751C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#751C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751C78
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751C78#FFFFFF#000000##FFFFFF
##751C781.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033E7A
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#782B49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751c78;
/* rgb */ color: rgb(117, 28, 120);
/* oklch */ color: oklch(41.2% 0.163 326.6);
Tailwind
colors: {
  custom: {
    50: '#a0639f',
    500: '#751c78',
    950: '#000000',
  },
}
SCSS
$custom: #751c78;
$custom-light: #a0639f;
$custom-dark: #000000;
JSON
{
  "hex": "#751c78",
  "rgb": {
    "r": 117,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 298.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41229,
    "c": 0.16288,
    "h": 326.6
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#751C78
secondary
#47AC44
accent
#E54348
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751C78

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

Preview Lab → · Contrast checker → · Palette generator →

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