#752277#752277

#752277 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.155 H 326.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#752277
RGBrgb(117, 34, 119)
HSLhsl(299, 56%, 30%)
HSVhsv(299, 71%, 47%)
CMYKcmyk(1.7%, 71.4%, 0%, 53.3%)
CIE-LABlab(30.06, 46.89, -30.49)
CIE-LCHlch(30.06, 55.93, 326.96°)
OKLaboklab(41.73% 0.1298 -0.0845)
OKLCHoklch(41.73% 0.155 326.9)
XYZxyz(11.2377, 6.2586, 18.0653)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752277 #247722
analogous
#4A2277 #752277 #77224F
triadic
#752277 #777522 #227775
tetradic
#752277 #774A22 #247722 #224F77
square
#752277 #774A22 #247722 #224F77
split-complementary
#752277 #4F7722 #22774A
monochromatic
#170718 #461447 #752277 #A430A7 #C849CB

Accessibility & contrast

On white

9.33
#752277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#752277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752277
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752277#FFFFFF#000000##FFFFFF
##7522771.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124079
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#782F4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #752277;
/* rgb */ color: rgb(117, 34, 119);
/* oklch */ color: oklch(41.7% 0.155 326.9);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#752277',
    950: '#000000',
  },
}
SCSS
$custom: #752277;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#752277",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 298.588,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.15487,
    "h": 326.9
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#752277
secondary
#4DAA4B
accent
#DF494C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752277

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

Preview Lab → · Contrast checker → · Palette generator →

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