#752A78#752A78

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

Color values

HEX#752A78
RGBrgb(117, 42, 120)
HSLhsl(298, 48%, 32%)
HSVhsv(298, 65%, 47%)
CMYKcmyk(2.5%, 65%, 0%, 52.9%)
CIE-LABlab(31.33, 43.66, -29.10)
CIE-LCHlch(31.33, 52.47, 326.32°)
OKLaboklab(42.67% 0.1202 -0.0805)
OKLCHoklch(42.67% 0.145 326.2)
XYZxyz(11.5540, 6.7946, 18.4686)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A78 #2D782A
analogous
#4E2A78 #752A78 #782A54
triadic
#752A78 #78752A #2A7875
tetradic
#752A78 #784E2A #2D782A #2A5478
square
#752A78 #784E2A #2D782A #2A5478
split-complementary
#752A78 #54782A #2A784E
monochromatic
#1D0A1D #491A4B #752A78 #A13AA5 #C058C5

Accessibility & contrast

On white

8.90
#752A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752A78
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A78#FFFFFF#000000##FFFFFF
##752A781.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752a78;
/* rgb */ color: rgb(117, 42, 120);
/* oklch */ color: oklch(42.7% 0.145 326.2);
Tailwind
colors: {
  custom: {
    50: '#9f699f',
    500: '#752a78',
    950: '#000000',
  },
}
SCSS
$custom: #752a78;
$custom-light: #9f699f;
$custom-dark: #000000;
JSON
{
  "hex": "#752a78",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 297.692,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42668,
    "c": 0.14471,
    "h": 326.2
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#752A78
secondary
#57AA54
accent
#D85055
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752A78

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

Preview Lab → · Contrast checker → · Palette generator →

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