#752299#752299

#752299 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.186 H 313.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#752299
RGBrgb(117, 34, 153)
HSLhsl(282, 64%, 37%)
HSVhsv(282, 78%, 60%)
CMYKcmyk(23.5%, 77.8%, 0%, 40%)
CIE-LABlab(32.32, 53.62, -47.99)
CIE-LCHlch(32.32, 71.96, 318.17°)
OKLaboklab(44.06% 0.1268 -0.1357)
OKLCHoklch(44.06% 0.186 313)
XYZxyz(13.6569, 7.2263, 30.8062)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752299 #469922
analogous
#3A2299 #752299 #992282
triadic
#752299 #997522 #229975
tetradic
#752299 #993A22 #469922 #228299
square
#752299 #993A22 #469922 #228299
split-complementary
#752299 #829922 #22993A
monochromatic
#280C35 #4F1767 #752299 #9B2DCB #B45BDB

Accessibility & contrast

On white

8.59
#752299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752299
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752299#FFFFFF#000000##FFFFFF
##7522991.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#134E96
Tritanopia (blue-blind)
#713E5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752299;
/* rgb */ color: rgb(117, 34, 153);
/* oklch */ color: oklch(44.1% 0.186 313.0);
Tailwind
colors: {
  custom: {
    50: '#a167b8',
    500: '#752299',
    950: '#000000',
  },
}
SCSS
$custom: #752299;
$custom-light: #a167b8;
$custom-dark: #000000;
JSON
{
  "hex": "#752299",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 281.849,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44056,
    "c": 0.1857,
    "h": 313
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#752299
secondary
#77BF58
accent
#E74173
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752299

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

Preview Lab → · Contrast checker → · Palette generator →

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