#752876#752876

#752876 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 327.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#752876
RGBrgb(117, 40, 118)
HSLhsl(299, 49%, 31%)
HSVhsv(299, 66%, 46%)
CMYKcmyk(0.8%, 66.1%, 0%, 53.7%)
CIE-LABlab(30.90, 44.18, -28.53)
CIE-LCHlch(30.90, 52.59, 327.15°)
OKLaboklab(42.32% 0.1226 -0.0789)
OKLCHoklch(42.32% 0.146 327.3)
XYZxyz(11.3647, 6.6082, 17.8130)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752876 #297628
analogous
#4E2876 #752876 #762850
triadic
#752876 #767528 #287675
tetradic
#752876 #764E28 #297628 #285076
square
#752876 #764E28 #297628 #285076
split-complementary
#752876 #507628 #28764E
monochromatic
#1A091B #481948 #752876 #A237A4 #C354C5

Accessibility & contrast

On white

9.05
#752876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752876
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752876#FFFFFF#000000##FFFFFF
##7528761.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4278
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#78334B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752876;
/* rgb */ color: rgb(117, 40, 118);
/* oklch */ color: oklch(42.3% 0.146 327.3);
Tailwind
colors: {
  custom: {
    50: '#9f689e',
    500: '#752876',
    950: '#000000',
  },
}
SCSS
$custom: #752876;
$custom-light: #9f689e;
$custom-dark: #000000;
JSON
{
  "hex": "#752876",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 299.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.14581,
    "h": 327.3
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#752876
secondary
#53A852
accent
#D94F51
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752876

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

Preview Lab → · Contrast checker → · Palette generator →

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