#752D7B#752D7B

#752D7B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.143 H 324.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#752D7B
RGBrgb(117, 45, 123)
HSLhsl(295, 46%, 33%)
HSVhsv(295, 63%, 48%)
CMYKcmyk(4.9%, 63.4%, 0%, 51.8%)
CIE-LABlab(32.01, 42.84, -29.92)
CIE-LCHlch(32.01, 52.25, 325.07°)
OKLaboklab(43.21% 0.1165 -0.0829)
OKLCHoklch(43.21% 0.143 324.6)
XYZxyz(11.8494, 7.0894, 19.4793)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D7B #337B2D
analogous
#4E2D7B #752D7B #7B2D5A
triadic
#752D7B #7B752D #2D7B75
tetradic
#752D7B #7B4E2D #337B2D #2D5A7B
square
#752D7B #7B4E2D #337B2D #2D5A7B
split-complementary
#752D7B #5A7B2D #2D7B4E
monochromatic
#200C21 #4A1D4E #752D7B #A03DA8 #BC5EC4

Accessibility & contrast

On white

8.69
#752D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752D7B
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D7B#FFFFFF#000000##FFFFFF
##752D7B1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#77384F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752d7b;
/* rgb */ color: rgb(117, 45, 123);
/* oklch */ color: oklch(43.2% 0.143 324.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ba1',
    500: '#752d7b',
    950: '#000000',
  },
}
SCSS
$custom: #752d7b;
$custom-light: #9f6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#752d7b",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 295.385,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43212,
    "c": 0.14302,
    "h": 324.6
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#752D7B
secondary
#5FAB59
accent
#D6525C
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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