#752285#752285

#752285 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.167 H 320.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#752285
RGBrgb(117, 34, 133)
HSLhsl(290, 59%, 33%)
HSVhsv(290, 74%, 52%)
CMYKcmyk(12%, 74.4%, 0%, 47.8%)
CIE-LABlab(30.93, 49.55, -37.90)
CIE-LCHlch(30.93, 62.38, 322.59°)
OKLaboklab(42.63% 0.1293 -0.1061)
OKLCHoklch(42.63% 0.167 320.6)
XYZxyz(12.1413, 6.6201, 22.8240)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752285 #328522
analogous
#432285 #752285 #852263
triadic
#752285 #857522 #228575
tetradic
#752285 #854322 #328522 #226385
square
#752285 #854322 #328522 #226385
split-complementary
#752285 #638522 #228543
monochromatic
#1F0924 #4A1654 #752285 #A02EB6 #BD4FD2

Accessibility & contrast

On white

9.04
#752285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#752285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752285
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752285#FFFFFF#000000##FFFFFF
##7522851.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#763551
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752285;
/* rgb */ color: rgb(117, 34, 133);
/* oklch */ color: oklch(42.6% 0.167 320.6);
Tailwind
colors: {
  custom: {
    50: '#a066a9',
    500: '#752285',
    950: '#000000',
  },
}
SCSS
$custom: #752285;
$custom-light: #a066a9;
$custom-dark: #000000;
JSON
{
  "hex": "#752285",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 290.303,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.1673,
    "h": 320.6
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#752285
secondary
#5EB64D
accent
#E2455F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752285

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

Preview Lab → · Contrast checker → · Palette generator →

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