#752D7E#752D7E

#752D7E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.146 H 323.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#752D7E
RGBrgb(117, 45, 126)
HSLhsl(293, 47%, 34%)
HSVhsv(293, 64%, 49%)
CMYKcmyk(7.1%, 64.3%, 0%, 50.6%)
CIE-LABlab(32.18, 43.43, -31.53)
CIE-LCHlch(32.18, 53.67, 324.03°)
OKLaboklab(43.39% 0.1167 -0.0876)
OKLCHoklch(43.39% 0.146 323.1)
XYZxyz(12.0400, 7.1657, 20.4835)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D7E #367E2D
analogous
#4C2D7E #752D7E #7E2D5E
triadic
#752D7E #7E752D #2D7E75
tetradic
#752D7E #7E4C2D #367E2D #2D5E7E
square
#752D7E #7E4C2D #367E2D #2D5E7E
split-complementary
#752D7E #5E7E2D #2D7E4C
monochromatic
#210D24 #4B1D51 #752D7E #9F3DAB #BB5FC6

Accessibility & contrast

On white

8.63
#752D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#752D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D7E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D7E#FFFFFF#000000##FFFFFF
##752D7E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#773951
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752d7e;
/* rgb */ color: rgb(117, 45, 126);
/* oklch */ color: oklch(43.4% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ba4',
    500: '#752d7e',
    950: '#000000',
  },
}
SCSS
$custom: #752d7e;
$custom-light: #9f6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#752d7e",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 293.333,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43392,
    "c": 0.1459,
    "h": 323.1
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#752D7E
secondary
#64AC5A
accent
#D75160
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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