#752174#752174

#752174 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.154 H 328.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#752174
RGBrgb(117, 33, 116)
HSLhsl(301, 56%, 29%)
HSVhsv(301, 72%, 46%)
CMYKcmyk(0%, 71.8%, 0.9%, 54.1%)
CIE-LABlab(29.74, 46.74, -29.09)
CIE-LCHlch(29.74, 55.05, 328.10°)
OKLaboklab(41.44% 0.1308 -0.0804)
OKLCHoklch(41.44% 0.154 328.4)
XYZxyz(11.0322, 6.1314, 17.1220)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752174 #217522
analogous
#4C2175 #752174 #75214A
triadic
#752174 #747521 #217475
tetradic
#752174 #754C21 #217522 #214A75
square
#752174 #754C21 #217522 #214A75
split-complementary
#752174 #4A7521 #21754C
monochromatic
#180718 #451445 #752174 #A52EA3 #CB46C9

Accessibility & contrast

On white

9.43
#752174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752174
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752174#FFFFFF#000000##FFFFFF
##7521741.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153F76
Deuteranopia (green-blind)
#374A72
Tritanopia (blue-blind)
#792D48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752174;
/* rgb */ color: rgb(117, 33, 116);
/* oklch */ color: oklch(41.4% 0.154 328.4);
Tailwind
colors: {
  custom: {
    50: '#a0659c',
    500: '#752174',
    950: '#000000',
  },
}
SCSS
$custom: #752174;
$custom-light: #a0659c;
$custom-dark: #000000;
JSON
{
  "hex": "#752174",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 300.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.15356,
    "h": 328.4
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#752174
secondary
#4AA84B
accent
#DF4A49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752174

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

Preview Lab → · Contrast checker → · Palette generator →

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