#752D8D#752D8D

#752D8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.161 H 316.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#752D8D
RGBrgb(117, 45, 141)
HSLhsl(285, 52%, 36%)
HSVhsv(285, 68%, 55%)
CMYKcmyk(17%, 68.1%, 0%, 44.7%)
CIE-LABlab(33.10, 46.53, -39.38)
CIE-LCHlch(33.10, 60.95, 319.76°)
OKLaboklab(44.35% 0.1166 -0.1105)
OKLCHoklch(44.35% 0.161 316.5)
XYZxyz(13.0815, 7.5823, 25.9686)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D8D #458D2D
analogous
#452D8D #752D8D #8D2D75
triadic
#752D8D #8D752D #2D8D75
tetradic
#752D8D #8D452D #458D2D #2D758D
square
#752D8D #8D452D #458D2D #2D758D
split-complementary
#752D8D #758D2D #2D8D45
monochromatic
#280F30 #4F1E5F #752D8D #9B3CBB #B466CE

Accessibility & contrast

On white

8.35
#752D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#752D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D8D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D8D#FFFFFF#000000##FFFFFF
##752D8D1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#743F59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752d8d;
/* rgb */ color: rgb(117, 45, 141);
/* oklch */ color: oklch(44.3% 0.161 316.5);
Tailwind
colors: {
  custom: {
    50: '#a06caf',
    500: '#752d8d',
    950: '#000000',
  },
}
SCSS
$custom: #752d8d;
$custom-light: #a06caf;
$custom-dark: #000000;
JSON
{
  "hex": "#752d8d",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44349,
    "c": 0.16068,
    "h": 316.5
  },
  "luminance": 0.07582
}

Semantic roles & 50–950 ramp

primary
#752D8D
secondary
#76B561
accent
#DB4D70
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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