#752F78#752F78

#752F78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.137 H 326.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#752F78
RGBrgb(117, 47, 120)
HSLhsl(298, 44%, 33%)
HSVhsv(298, 61%, 47%)
CMYKcmyk(2.5%, 60.8%, 0%, 52.9%)
CIE-LABlab(32.19, 41.29, -27.74)
CIE-LCHlch(32.19, 49.74, 326.10°)
OKLaboklab(43.29% 0.1136 -0.0766)
OKLCHoklch(43.29% 0.137 326)
XYZxyz(11.7426, 7.1717, 18.5314)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F78 #32782F
analogous
#502F78 #752F78 #782F57
triadic
#752F78 #78752F #2F7875
tetradic
#752F78 #78502F #32782F #2F5778
square
#752F78 #78502F #32782F #2F5778
split-complementary
#752F78 #57782F #2F7850
monochromatic
#1F0D20 #4A1E4C #752F78 #A040A4 #BD60C1

Accessibility & contrast

On white

8.63
#752F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#752F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F78
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F78#FFFFFF#000000##FFFFFF
##752F781.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#3D4F76
Tritanopia (blue-blind)
#78394F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752f78;
/* rgb */ color: rgb(117, 47, 120);
/* oklch */ color: oklch(43.3% 0.137 326.0);
Tailwind
colors: {
  custom: {
    50: '#9f6c9f',
    500: '#752f78',
    950: '#000000',
  },
}
SCSS
$custom: #752f78;
$custom-light: #9f6c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#752f78",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 297.534,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43293,
    "c": 0.13705,
    "h": 326
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#752F78
secondary
#5EA85B
accent
#D3545A
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752F78

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

Preview Lab → · Contrast checker → · Palette generator →

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