#752288#752288

#752288 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.170 H 319.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#752288
RGBrgb(117, 34, 136)
HSLhsl(289, 60%, 33%)
HSVhsv(289, 75%, 53%)
CMYKcmyk(14%, 75%, 0%, 46.7%)
CIE-LABlab(31.12, 50.14, -39.45)
CIE-LCHlch(31.12, 63.80, 321.80°)
OKLaboklab(42.83% 0.1291 -0.1106)
OKLCHoklch(42.83% 0.17 319.4)
XYZxyz(12.3515, 6.7041, 23.9312)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752288 #358822
analogous
#422288 #752288 #882268
triadic
#752288 #887522 #228875
tetradic
#752288 #884222 #358822 #226888
square
#752288 #884222 #358822 #226888
split-complementary
#752288 #688822 #228842
monochromatic
#210A26 #4B1657 #752288 #9F2EB9 #BB51D3

Accessibility & contrast

On white

8.97
#752288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#752288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752288
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752288#FFFFFF#000000##FFFFFF
##7522881.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#753653
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752288;
/* rgb */ color: rgb(117, 34, 136);
/* oklch */ color: oklch(42.8% 0.170 319.4);
Tailwind
colors: {
  custom: {
    50: '#a066ab',
    500: '#752288',
    950: '#000000',
  },
}
SCSS
$custom: #752288;
$custom-light: #a066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#752288",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 288.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.17002,
    "h": 319.4
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#752288
secondary
#62B74F
accent
#E34562
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752288

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

Preview Lab → · Contrast checker → · Palette generator →

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