#751578#751578

#751578 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 326.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#751578
RGBrgb(117, 21, 120)
HSLhsl(298, 70%, 28%)
HSVhsv(298, 83%, 47%)
CMYKcmyk(2.5%, 82.5%, 0%, 52.9%)
CIE-LABlab(28.58, 51.48, -33.48)
CIE-LCHlch(28.58, 61.40, 326.96°)
OKLaboklab(40.69% 0.1421 -0.0931)
OKLCHoklch(40.69% 0.17 326.8)
XYZxyz(10.9943, 5.6751, 18.2820)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#751578 #187815
analogous
#441578 #751578 #781549
triadic
#751578 #787515 #157875
tetradic
#751578 #784415 #187815 #154978
square
#751578 #784415 #187815 #154978
split-complementary
#751578 #497815 #157844
monochromatic
#19051A #420C44 #751578 #A81EAC #D52DDA

Accessibility & contrast

On white

9.84
#751578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#751578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #751578
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##751578#FFFFFF#000000##FFFFFF
##7515781.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2F4776
Tritanopia (blue-blind)
#782847
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #751578;
/* rgb */ color: rgb(117, 21, 120);
/* oklch */ color: oklch(40.7% 0.170 326.8);
Tailwind
colors: {
  custom: {
    50: '#a0609f',
    500: '#751578',
    950: '#000000',
  },
}
SCSS
$custom: #751578;
$custom-light: #a0609f;
$custom-dark: #000000;
JSON
{
  "hex": "#751578",
  "rgb": {
    "r": 117,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 298.182,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.1699,
    "h": 326.8
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#751578
secondary
#3FAE3B
accent
#ED3B40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #751578

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

Preview Lab → · Contrast checker → · Palette generator →

#751578 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva