#752899#752899

#752899 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.179 H 312.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#752899
RGBrgb(117, 40, 153)
HSLhsl(281, 59%, 38%)
HSVhsv(281, 74%, 60%)
CMYKcmyk(23.5%, 73.9%, 0%, 40%)
CIE-LABlab(33.14, 51.28, -46.67)
CIE-LCHlch(33.14, 69.34, 317.70°)
OKLaboklab(44.64% 0.121 -0.1319)
OKLCHoklch(44.64% 0.179 312.5)
XYZxyz(13.8436, 7.5998, 30.8685)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752899 #4C9928
analogous
#3D2899 #752899 #992884
triadic
#752899 #997528 #289975
tetradic
#752899 #993D28 #4C9928 #288499
square
#752899 #993D28 #4C9928 #288499
split-complementary
#752899 #849928 #28993D
monochromatic
#2B0F38 #501B68 #752899 #9A35CA #B265D7

Accessibility & contrast

On white

8.33
#752899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#752899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752899
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752899#FFFFFF#000000##FFFFFF
##7528991.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#1B4F97
Tritanopia (blue-blind)
#71415E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752899;
/* rgb */ color: rgb(117, 40, 153);
/* oklch */ color: oklch(44.6% 0.179 312.5);
Tailwind
colors: {
  custom: {
    50: '#a16ab8',
    500: '#752899',
    950: '#000000',
  },
}
SCSS
$custom: #752899;
$custom-light: #a16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#752899",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 280.885,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.17897,
    "h": 312.5
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#752899
secondary
#7EBD60
accent
#E24678
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752899

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

Preview Lab → · Contrast checker → · Palette generator →

#752899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva