#752F6D#752F6D

#752F6D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.7% C 0.127 H 332.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#752F6D
RGBrgb(117, 47, 109)
HSLhsl(307, 43%, 32%)
HSVhsv(307, 60%, 46%)
CMYKcmyk(0%, 59.8%, 6.8%, 54.1%)
CIE-LABlab(31.62, 39.22, -21.68)
CIE-LCHlch(31.62, 44.81, 331.07°)
OKLaboklab(42.69% 0.1122 -0.0592)
OKLCHoklch(42.69% 0.127 332.2)
XYZxyz(11.1129, 6.9198, 15.2154)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F6D #2F7537
analogous
#5A2F75 #752F6D #752F4A
triadic
#752F6D #6D752F #2F6D75
tetradic
#752F6D #755A2F #2F7537 #2F4A75
square
#752F6D #755A2F #2F7537 #2F4A75
split-complementary
#752F6D #4A752F #2F755A
monochromatic
#1E0C1C #491D44 #752F6D #A14196 #BF5FB4

Accessibility & contrast

On white

8.81
#752F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#752F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F6D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F6D#FFFFFF#000000##FFFFFF
##752F6D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#7A3549
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752f6d;
/* rgb */ color: rgb(117, 47, 109);
/* oklch */ color: oklch(42.7% 0.127 332.2);
Tailwind
colors: {
  custom: {
    50: '#9f6c97',
    500: '#752f6d',
    950: '#000000',
  },
}
SCSS
$custom: #752f6d;
$custom-light: #9f6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#752f6d",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 306.857,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.12688,
    "h": 332.2
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#752F6D
secondary
#5AA663
accent
#D26455
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #752F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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