#752287#752287

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

Color values

HEX#752287
RGBrgb(117, 34, 135)
HSLhsl(289, 60%, 33%)
HSVhsv(289, 75%, 53%)
CMYKcmyk(13.3%, 74.8%, 0%, 47.1%)
CIE-LABlab(31.06, 49.94, -38.93)
CIE-LCHlch(31.06, 63.33, 322.06°)
OKLaboklab(42.76% 0.1292 -0.1091)
OKLCHoklch(42.76% 0.169 319.8)
XYZxyz(12.2808, 6.6758, 23.5587)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752287 #348722
analogous
#422287 #752287 #872266
triadic
#752287 #877522 #228775
tetradic
#752287 #874222 #348722 #226687
square
#752287 #874222 #348722 #226687
split-complementary
#752287 #668722 #228742
monochromatic
#200925 #4B1656 #752287 #9F2EB8 #BC50D3

Accessibility & contrast

On white

8.99
#752287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752287
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752287#FFFFFF#000000##FFFFFF
##7522871.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752287;
/* rgb */ color: rgb(117, 34, 135);
/* oklch */ color: oklch(42.8% 0.169 319.8);
Tailwind
colors: {
  custom: {
    50: '#a066aa',
    500: '#752287',
    950: '#000000',
  },
}
SCSS
$custom: #752287;
$custom-light: #a066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752287",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 289.307,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.16912,
    "h": 319.8
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#752287
secondary
#61B74E
accent
#E34561
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752287

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

Preview Lab → · Contrast checker → · Palette generator →

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