#752168#752168

#752168 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.144 H 334.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#752168
RGBrgb(117, 33, 104)
HSLhsl(309, 56%, 29%)
HSVhsv(309, 72%, 46%)
CMYKcmyk(0%, 71.8%, 11.1%, 54.1%)
CIE-LABlab(29.08, 44.67, -22.44)
CIE-LCHlch(29.08, 49.99, 333.32°)
OKLaboklab(40.75% 0.13 -0.0613)
OKLCHoklch(40.75% 0.144 334.8)
XYZxyz(10.3788, 5.8700, 13.6804)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752168 #21752E
analogous
#582175 #752168 #75213E
triadic
#752168 #687521 #216875
tetradic
#752168 #755821 #21752E #213E75
square
#752168 #755821 #21752E #213E75
split-complementary
#752168 #3E7521 #217558
monochromatic
#180715 #45143E #752168 #A52E92 #CB46B6

Accessibility & contrast

On white

9.66
#752168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#752168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752168
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752168#FFFFFF#000000##FFFFFF
##7521681.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203D6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#7B2741
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #752168;
/* rgb */ color: rgb(117, 33, 104);
/* oklch */ color: oklch(40.8% 0.144 334.8);
Tailwind
colors: {
  custom: {
    50: '#a06493',
    500: '#752168',
    950: '#000000',
  },
}
SCSS
$custom: #752168;
$custom-light: #a06493;
$custom-dark: #000000;
JSON
{
  "hex": "#752168",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 309.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.14368,
    "h": 334.8
  },
  "luminance": 0.05869
}

Semantic roles & 50–950 ramp

primary
#752168
secondary
#4AA858
accent
#DF6049
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #752168

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

Preview Lab → · Contrast checker → · Palette generator →

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