#752D8B#752D8B

#752D8B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.159 H 317.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#752D8B
RGBrgb(117, 45, 139)
HSLhsl(286, 51%, 36%)
HSVhsv(286, 68%, 55%)
CMYKcmyk(15.8%, 67.6%, 0%, 45.5%)
CIE-LABlab(32.97, 46.10, -38.35)
CIE-LCHlch(32.97, 59.97, 320.24°)
OKLaboklab(44.22% 0.1167 -0.1075)
OKLCHoklch(44.22% 0.159 317.3)
XYZxyz(12.9340, 7.5233, 25.1919)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D8B #438B2D
analogous
#462D8B #752D8B #8B2D72
triadic
#752D8B #8B752D #2D8B75
tetradic
#752D8B #8B462D #438B2D #2D728B
square
#752D8B #8B462D #438B2D #2D728B
split-complementary
#752D8B #728B2D #2D8B46
monochromatic
#270F2F #4E1E5D #752D8B #9C3CB9 #B565CD

Accessibility & contrast

On white

8.38
#752D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#752D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D8B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D8B#FFFFFF#000000##FFFFFF
##752D8B1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06498E
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#743E58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752d8b;
/* rgb */ color: rgb(117, 45, 139);
/* oklch */ color: oklch(44.2% 0.159 317.3);
Tailwind
colors: {
  custom: {
    50: '#a06cad',
    500: '#752d8b',
    950: '#000000',
  },
}
SCSS
$custom: #752d8b;
$custom-light: #a06cad;
$custom-dark: #000000;
JSON
{
  "hex": "#752d8b",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 285.957,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44216,
    "c": 0.15868,
    "h": 317.3
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#752D8B
secondary
#74B460
accent
#DB4D6E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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