#752C78#752C78

#752C78 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.142 H 326.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#752C78
RGBrgb(117, 44, 120)
HSLhsl(298, 46%, 32%)
HSVhsv(298, 63%, 47%)
CMYKcmyk(2.5%, 63.3%, 0%, 52.9%)
CIE-LABlab(31.67, 42.73, -28.57)
CIE-LCHlch(31.67, 51.40, 326.23°)
OKLaboklab(42.91% 0.1176 -0.079)
OKLCHoklch(42.91% 0.142 326.1)
XYZxyz(11.6267, 6.9400, 18.4928)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C78 #2F782C
analogous
#4F2C78 #752C78 #782C55
triadic
#752C78 #78752C #2C7875
tetradic
#752C78 #784F2C #2F782C #2C5578
square
#752C78 #784F2C #2F782C #2C5578
split-complementary
#752C78 #55782C #2C784F
monochromatic
#1E0B1E #491C4B #752C78 #A13CA5 #BF5BC3

Accessibility & contrast

On white

8.79
#752C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C78
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C78#FFFFFF#000000##FFFFFF
##752C781.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#3B4E76
Tritanopia (blue-blind)
#78364E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752c78;
/* rgb */ color: rgb(117, 44, 120);
/* oklch */ color: oklch(42.9% 0.142 326.1);
Tailwind
colors: {
  custom: {
    50: '#9f6a9f',
    500: '#752c78',
    950: '#000000',
  },
}
SCSS
$custom: #752c78;
$custom-light: #9f6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#752c78",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 297.632,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.14172,
    "h": 326.1
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#752C78
secondary
#5AA957
accent
#D65257
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752C78

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

Preview Lab → · Contrast checker → · Palette generator →

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