#752276#752276

#752276 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.154 H 327.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#752276
RGBrgb(117, 34, 118)
HSLhsl(299, 55%, 30%)
HSVhsv(299, 71%, 46%)
CMYKcmyk(0.8%, 71.2%, 0%, 53.7%)
CIE-LABlab(30.00, 46.71, -29.95)
CIE-LCHlch(30.00, 55.48, 327.33°)
OKLaboklab(41.67% 0.1298 -0.0829)
OKLCHoklch(41.67% 0.154 327.4)
XYZxyz(11.1780, 6.2347, 17.7507)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752276 #237622
analogous
#4B2276 #752276 #76224D
triadic
#752276 #767522 #227675
tetradic
#752276 #764B22 #237622 #224D76
square
#752276 #764B22 #237622 #224D76
split-complementary
#752276 #4D7622 #22764B
monochromatic
#180718 #461446 #752276 #A430A6 #C948CA

Accessibility & contrast

On white

9.35
#752276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752276
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752276#FFFFFF#000000##FFFFFF
##7522761.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#792E49
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #752276;
/* rgb */ color: rgb(117, 34, 118);
/* oklch */ color: oklch(41.7% 0.154 327.4);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#752276',
    950: '#000000',
  },
}
SCSS
$custom: #752276;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#752276",
  "rgb": {
    "r": 117,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 299.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.154,
    "h": 327.4
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#752276
secondary
#4CA94B
accent
#DF494B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752276

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

Preview Lab → · Contrast checker → · Palette generator →

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