#752291#752291

#752291 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 315.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#752291
RGBrgb(117, 34, 145)
HSLhsl(285, 62%, 35%)
HSVhsv(285, 77%, 57%)
CMYKcmyk(19.3%, 76.6%, 0%, 43.1%)
CIE-LABlab(31.74, 51.96, -44.02)
CIE-LCHlch(31.74, 68.10, 319.73°)
OKLaboklab(43.47% 0.128 -0.1241)
OKLCHoklch(43.47% 0.178 315.9)
XYZxyz(13.0182, 6.9708, 27.4423)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752291 #3E9122
analogous
#3E2291 #752291 #912275
triadic
#752291 #917522 #229175
tetradic
#752291 #913E22 #3E9122 #227591
square
#752291 #913E22 #3E9122 #227591
split-complementary
#752291 #759122 #22913E
monochromatic
#250B2E #4D165F #752291 #9D2EC3 #B756D7

Accessibility & contrast

On white

8.77
#752291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752291
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752291#FFFFFF#000000##FFFFFF
##7522911.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#204D8F
Tritanopia (blue-blind)
#733A58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752291;
/* rgb */ color: rgb(117, 34, 145);
/* oklch */ color: oklch(43.5% 0.178 315.9);
Tailwind
colors: {
  custom: {
    50: '#a166b2',
    500: '#752291',
    950: '#000000',
  },
}
SCSS
$custom: #752291;
$custom-light: #a166b2;
$custom-dark: #000000;
JSON
{
  "hex": "#752291",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 284.865,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43467,
    "c": 0.17828,
    "h": 315.9
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#752291
secondary
#6EBB53
accent
#E5436C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752291

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

Preview Lab → · Contrast checker → · Palette generator →

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