#751A78#751A78

#751A78 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.165 H 326.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#751A78
RGBrgb(117, 26, 120)
HSLhsl(298, 64%, 29%)
HSVhsv(298, 78%, 47%)
CMYKcmyk(2.5%, 78.3%, 0%, 52.9%)
CIE-LABlab(29.10, 49.96, -32.64)
CIE-LCHlch(29.10, 59.68, 326.84°)
OKLaboklab(41.06% 0.1379 -0.0907)
OKLCHoklch(41.06% 0.165 326.7)
XYZxyz(11.0955, 5.8775, 18.3157)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751A78 #1D781A
analogous
#461A78 #751A78 #781A4C
triadic
#751A78 #78751A #1A7875
tetradic
#751A78 #78461A #1D781A #1A4C78
square
#751A78 #78461A #1D781A #1A4C78
split-complementary
#751A78 #4C781A #1A7846
monochromatic
#190519 #440F46 #751A78 #A625AA #CF38D4

Accessibility & contrast

On white

9.65
#751A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#751A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751A78
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751A78#FFFFFF#000000##FFFFFF
##751A781.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#324876
Tritanopia (blue-blind)
#782A48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #751a78;
/* rgb */ color: rgb(117, 26, 120);
/* oklch */ color: oklch(41.1% 0.165 326.7);
Tailwind
colors: {
  custom: {
    50: '#a0629f',
    500: '#751a78',
    950: '#000000',
  },
}
SCSS
$custom: #751a78;
$custom-light: #a0629f;
$custom-dark: #000000;
JSON
{
  "hex": "#751a78",
  "rgb": {
    "r": 117,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 298.085,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.16503,
    "h": 326.7
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#751A78
secondary
#45AC41
accent
#E74046
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #751A78

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

Preview Lab → · Contrast checker → · Palette generator →

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