#752C7E#752C7E

#752C7E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.147 H 323.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#752C7E
RGBrgb(117, 44, 126)
HSLhsl(293, 48%, 33%)
HSVhsv(293, 65%, 49%)
CMYKcmyk(7.1%, 65.1%, 0%, 50.6%)
CIE-LABlab(32.01, 43.90, -31.80)
CIE-LCHlch(32.01, 54.21, 324.09°)
OKLaboklab(43.27% 0.118 -0.0884)
OKLCHoklch(43.27% 0.147 323.2)
XYZxyz(12.0023, 7.0903, 20.4710)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C7E #357E2C
analogous
#4C2C7E #752C7E #7E2C5E
triadic
#752C7E #7E752C #2C7E75
tetradic
#752C7E #7E4C2C #357E2C #2C5E7E
square
#752C7E #7E4C2C #357E2C #2C5E7E
split-complementary
#752C7E #5E7E2C #2C7E4C
monochromatic
#210C23 #4B1C51 #752C7E #9F3CAB #BB5EC7

Accessibility & contrast

On white

8.68
#752C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#752C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C7E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C7E#FFFFFF#000000##FFFFFF
##752C7E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#773951
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752c7e;
/* rgb */ color: rgb(117, 44, 126);
/* oklch */ color: oklch(43.3% 0.147 323.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ba4',
    500: '#752c7e',
    950: '#000000',
  },
}
SCSS
$custom: #752c7e;
$custom-light: #9f6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#752c7e",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 293.415,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.1474,
    "h": 323.2
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#752C7E
secondary
#62AD59
accent
#D8505F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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