#752B8D#752B8D

#752B8D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.163 H 316.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#752B8D
RGBrgb(117, 43, 141)
HSLhsl(285, 53%, 36%)
HSVhsv(285, 70%, 55%)
CMYKcmyk(17%, 69.5%, 0%, 44.7%)
CIE-LABlab(32.77, 47.43, -39.90)
CIE-LCHlch(32.77, 61.98, 319.93°)
OKLaboklab(44.12% 0.119 -0.112)
OKLCHoklch(44.12% 0.163 316.7)
XYZxyz(13.0070, 7.4333, 25.9437)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B8D #438D2B
analogous
#442B8D #752B8D #8D2B74
triadic
#752B8D #8D752B #2B8D75
tetradic
#752B8D #8D442B #438D2B #2B748D
square
#752B8D #8D442B #438D2B #2B748D
split-complementary
#752B8D #748D2B #2B8D44
monochromatic
#270E2F #4E1D5E #752B8D #9C39BC #B563CF

Accessibility & contrast

On white

8.45
#752B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#752B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B8D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B8D#FFFFFF#000000##FFFFFF
##752B8D1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#743E58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752b8d;
/* rgb */ color: rgb(117, 43, 141);
/* oklch */ color: oklch(44.1% 0.163 316.7);
Tailwind
colors: {
  custom: {
    50: '#a06baf',
    500: '#752b8d',
    950: '#000000',
  },
}
SCSS
$custom: #752b8d;
$custom-light: #a06baf;
$custom-dark: #000000;
JSON
{
  "hex": "#752b8d",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 285.306,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.16342,
    "h": 316.7
  },
  "luminance": 0.07433
}

Semantic roles & 50–950 ramp

primary
#752B8D
secondary
#74B65E
accent
#DD4B6F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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