#752078#752078

#752078 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.158 H 326.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#752078
RGBrgb(117, 32, 120)
HSLhsl(298, 58%, 30%)
HSVhsv(298, 73%, 47%)
CMYKcmyk(2.5%, 73.3%, 0%, 52.9%)
CIE-LABlab(29.84, 47.85, -31.46)
CIE-LCHlch(29.84, 57.27, 326.67°)
OKLaboklab(41.59% 0.132 -0.0873)
OKLCHoklch(41.59% 0.158 326.5)
XYZxyz(11.2426, 6.1718, 18.3648)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752078 #237820
analogous
#492078 #752078 #78204F
triadic
#752078 #787520 #207875
tetradic
#752078 #784920 #237820 #204F78
square
#752078 #784920 #237820 #204F78
split-complementary
#752078 #4F7820 #207849
monochromatic
#180618 #461348 #752078 #A42DA8 #C945CD

Accessibility & contrast

On white

9.40
#752078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#752078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752078
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752078#FFFFFF#000000##FFFFFF
##7520781.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3F7A
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#782E4A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752078;
/* rgb */ color: rgb(117, 32, 120);
/* oklch */ color: oklch(41.6% 0.158 326.5);
Tailwind
colors: {
  custom: {
    50: '#a0649f',
    500: '#752078',
    950: '#000000',
  },
}
SCSS
$custom: #752078;
$custom-light: #a0649f;
$custom-dark: #000000;
JSON
{
  "hex": "#752078",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 297.955,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.15823,
    "h": 326.5
  },
  "luminance": 0.06171
}

Semantic roles & 50–950 ramp

primary
#752078
secondary
#4CAB48
accent
#E1474C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752078

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

Preview Lab → · Contrast checker → · Palette generator →

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