#752F8D#752F8D

#752F8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.158 H 316.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#752F8D
RGBrgb(117, 47, 141)
HSLhsl(285, 50%, 37%)
HSVhsv(285, 67%, 55%)
CMYKcmyk(17%, 66.7%, 0%, 44.7%)
CIE-LABlab(33.43, 45.60, -38.84)
CIE-LCHlch(33.43, 59.90, 319.57°)
OKLaboklab(44.59% 0.1142 -0.109)
OKLCHoklch(44.59% 0.158 316.4)
XYZxyz(13.1596, 7.7385, 25.9946)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F8D #478D2F
analogous
#462F8D #752F8D #8D2F76
triadic
#752F8D #8D752F #2F8D75
tetradic
#752F8D #8D462F #478D2F #2F768D
square
#752F8D #8D462F #478D2F #2F768D
split-complementary
#752F8D #768D2F #2F8D46
monochromatic
#291031 #4F205F #752F8D #9B3EBB #B469CD

Accessibility & contrast

On white

8.24
#752F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#752F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F8D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F8D#FFFFFF#000000##FFFFFF
##752F8D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#74405A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752f8d;
/* rgb */ color: rgb(117, 47, 141);
/* oklch */ color: oklch(44.6% 0.158 316.4);
Tailwind
colors: {
  custom: {
    50: '#a06daf',
    500: '#752f8d',
    950: '#000000',
  },
}
SCSS
$custom: #752f8d;
$custom-light: #a06daf;
$custom-dark: #000000;
JSON
{
  "hex": "#752f8d",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 284.681,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4459,
    "c": 0.15787,
    "h": 316.4
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#752F8D
secondary
#78B464
accent
#DA4E72
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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