#752A79#752A79

#752A79 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 325.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#752A79
RGBrgb(117, 42, 121)
HSLhsl(297, 48%, 32%)
HSVhsv(297, 65%, 47%)
CMYKcmyk(3.3%, 65.3%, 0%, 52.5%)
CIE-LABlab(31.39, 43.85, -29.64)
CIE-LCHlch(31.39, 52.93, 325.94°)
OKLaboklab(42.73% 0.1203 -0.0821)
OKLCHoklch(42.73% 0.146 325.7)
XYZxyz(11.6150, 6.8190, 18.7899)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A79 #2E792A
analogous
#4E2A79 #752A79 #792A56
triadic
#752A79 #79752A #2A7975
tetradic
#752A79 #794E2A #2E792A #2A5679
square
#752A79 #794E2A #2E792A #2A5679
split-complementary
#752A79 #56792A #2A794E
monochromatic
#1D0A1E #491A4C #752A79 #A13AA6 #C058C5

Accessibility & contrast

On white

8.88
#752A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#752A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A79
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A79#FFFFFF#000000##FFFFFF
##752A791.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#78354D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752a79;
/* rgb */ color: rgb(117, 42, 121);
/* oklch */ color: oklch(42.7% 0.146 325.7);
Tailwind
colors: {
  custom: {
    50: '#9f69a0',
    500: '#752a79',
    950: '#000000',
  },
}
SCSS
$custom: #752a79;
$custom-light: #9f69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#752a79",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 296.962,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.14563,
    "h": 325.7
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#752A79
secondary
#59AB54
accent
#D85057
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752A79

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

Preview Lab → · Contrast checker → · Palette generator →

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