#752879#752879

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

Color values

HEX#752879
RGBrgb(117, 40, 121)
HSLhsl(297, 50%, 32%)
HSVhsv(297, 67%, 47%)
CMYKcmyk(3.3%, 66.9%, 0%, 52.5%)
CIE-LABlab(31.07, 44.75, -30.15)
CIE-LCHlch(31.07, 53.96, 326.03°)
OKLaboklab(42.49% 0.1228 -0.0836)
OKLCHoklch(42.49% 0.149 325.8)
XYZxyz(11.5459, 6.6807, 18.7668)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752879 #2C7928
analogous
#4D2879 #752879 #792855
triadic
#752879 #797528 #287975
tetradic
#752879 #794D28 #2C7928 #285579
square
#752879 #794D28 #2C7928 #285579
split-complementary
#752879 #557928 #28794D
monochromatic
#1C0A1D #49194B #752879 #A137A7 #C155C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752879#FFFFFF#000000##FFFFFF
##7528791.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)
#1A437B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#78344D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752879;
/* rgb */ color: rgb(117, 40, 121);
/* oklch */ color: oklch(42.5% 0.149 325.8);
Tailwind
colors: {
  custom: {
    50: '#9f68a0',
    500: '#752879',
    950: '#000000',
  },
}
SCSS
$custom: #752879;
$custom-light: #9f68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#752879",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 297.037,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.14852,
    "h": 325.8
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#752879
secondary
#56AB52
accent
#DA4E55
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752879

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

Preview Lab → · Contrast checker → · Palette generator →

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