#752A8A#752A8A

#752A8A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.162 H 318.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#752A8A
RGBrgb(117, 42, 138)
HSLhsl(287, 53%, 35%)
HSVhsv(287, 70%, 54%)
CMYKcmyk(15.2%, 69.6%, 0%, 45.9%)
CIE-LABlab(32.42, 47.25, -38.61)
CIE-LCHlch(32.42, 61.02, 320.74°)
OKLaboklab(43.8% 0.1203 -0.1082)
OKLCHoklch(43.8% 0.162 318)
XYZxyz(12.7509, 7.2734, 24.7721)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A8A #3F8A2A
analogous
#452A8A #752A8A #8A2A6F
triadic
#752A8A #8A752A #2A8A75
tetradic
#752A8A #8A452A #3F8A2A #2A6F8A
square
#752A8A #8A452A #3F8A2A #2A6F8A
split-complementary
#752A8A #6F8A2A #2A8A45
monochromatic
#250D2C #4D1C5B #752A8A #9D38B9 #B660CF

Accessibility & contrast

On white

8.56
#752A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A8A
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A8A#FFFFFF#000000##FFFFFF
##752A8A1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#743C56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752a8a;
/* rgb */ color: rgb(117, 42, 138);
/* oklch */ color: oklch(43.8% 0.162 318.0);
Tailwind
colors: {
  custom: {
    50: '#a06aad',
    500: '#752a8a',
    950: '#000000',
  },
}
SCSS
$custom: #752a8a;
$custom-light: #a06aad;
$custom-dark: #000000;
JSON
{
  "hex": "#752a8a",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 286.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.16183,
    "h": 318
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#752A8A
secondary
#6FB45B
accent
#DD4B6B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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