#752F7E#752F7E

#752F7E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.143 H 323.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#752F7E
RGBrgb(117, 47, 126)
HSLhsl(293, 46%, 34%)
HSVhsv(293, 63%, 49%)
CMYKcmyk(7.1%, 62.7%, 0%, 50.6%)
CIE-LABlab(32.53, 42.48, -30.98)
CIE-LCHlch(32.53, 52.57, 323.90°)
OKLaboklab(43.65% 0.1141 -0.086)
OKLCHoklch(43.65% 0.143 323)
XYZxyz(12.1182, 7.3219, 20.5096)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F7E #387E2F
analogous
#4E2F7E #752F7E #7E2F60
triadic
#752F7E #7E752F #2F7E75
tetradic
#752F7E #7E4E2F #387E2F #2F607E
square
#752F7E #7E4E2F #387E2F #2F607E
split-complementary
#752F7E #607E2F #2F7E4E
monochromatic
#220E25 #4C1E51 #752F7E #9E40AB #BA63C5

Accessibility & contrast

On white

8.52
#752F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#752F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F7E
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F7E#FFFFFF#000000##FFFFFF
##752F7E1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204780
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#773B52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752f7e;
/* rgb */ color: rgb(117, 47, 126);
/* oklch */ color: oklch(43.6% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ca4',
    500: '#752f7e',
    950: '#000000',
  },
}
SCSS
$custom: #752f7e;
$custom-light: #9f6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#752f7e",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 293.165,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43645,
    "c": 0.14287,
    "h": 323
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#752F7E
secondary
#66AC5D
accent
#D55261
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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