#752D78#752D78

#752D78 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.140 H 326.1°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#752D78
RGBrgb(117, 45, 120)
HSLhsl(298, 45%, 32%)
HSVhsv(298, 63%, 47%)
CMYKcmyk(2.5%, 62.5%, 0%, 52.9%)
CIE-LABlab(31.84, 42.26, -28.30)
CIE-LCHlch(31.84, 50.86, 326.19°)
OKLaboklab(43.04% 0.1163 -0.0782)
OKLCHoklch(43.04% 0.14 326.1)
XYZxyz(11.6644, 7.0154, 18.5054)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D78 #30782D
analogous
#502D78 #752D78 #782D56
triadic
#752D78 #78752D #2D7875
tetradic
#752D78 #78502D #30782D #2D5678
square
#752D78 #78502D #30782D #2D5678
split-complementary
#752D78 #56782D #2D7850
monochromatic
#1E0C1F #4A1C4B #752D78 #A03EA5 #BE5DC2

Accessibility & contrast

On white

8.74
#752D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#752D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D78
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D78#FFFFFF#000000##FFFFFF
##752D781.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#78374E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752d78;
/* rgb */ color: rgb(117, 45, 120);
/* oklch */ color: oklch(43.0% 0.140 326.1);
Tailwind
colors: {
  custom: {
    50: '#9f6b9f',
    500: '#752d78',
    950: '#000000',
  },
}
SCSS
$custom: #752d78;
$custom-light: #9f6b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#752d78",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 297.6,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.14018,
    "h": 326.1
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#752D78
secondary
#5BA958
accent
#D55358
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752D78

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

Preview Lab → · Contrast checker → · Palette generator →

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