#752F8B#752F8B

#752F8B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.156 H 317.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#752F8B
RGBrgb(117, 47, 139)
HSLhsl(286, 49%, 36%)
HSVhsv(286, 66%, 55%)
CMYKcmyk(15.8%, 66.2%, 0%, 45.5%)
CIE-LABlab(33.31, 45.17, -37.81)
CIE-LCHlch(33.31, 58.91, 320.07°)
OKLaboklab(44.46% 0.1143 -0.1059)
OKLCHoklch(44.46% 0.156 317.2)
XYZxyz(13.0122, 7.6795, 25.2180)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F8B #458B2F
analogous
#472F8B #752F8B #8B2F73
triadic
#752F8B #8B752F #2F8B75
tetradic
#752F8B #8B472F #458B2F #2F738B
square
#752F8B #8B472F #458B2F #2F738B
split-complementary
#752F8B #738B2F #2F8B47
monochromatic
#281030 #4F205D #752F8B #9B3EB9 #B468CC

Accessibility & contrast

On white

8.28
#752F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#752F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F8B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F8B#FFFFFF#000000##FFFFFF
##752F8B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#315089
Tritanopia (blue-blind)
#744059
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752f8b;
/* rgb */ color: rgb(117, 47, 139);
/* oklch */ color: oklch(44.5% 0.156 317.2);
Tailwind
colors: {
  custom: {
    50: '#a06dad',
    500: '#752f8b',
    950: '#000000',
  },
}
SCSS
$custom: #752f8b;
$custom-light: #a06dad;
$custom-dark: #000000;
JSON
{
  "hex": "#752f8b",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 285.652,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.15584,
    "h": 317.2
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#752F8B
secondary
#76B363
accent
#D94F70
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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