#75217E#75217E

#75217E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.162 H 323.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#75217E
RGBrgb(117, 33, 126)
HSLhsl(294, 58%, 31%)
HSVhsv(294, 74%, 49%)
CMYKcmyk(7.1%, 73.8%, 0%, 50.6%)
CIE-LABlab(30.34, 48.58, -34.45)
CIE-LCHlch(30.34, 59.56, 324.66°)
OKLaboklab(42.07% 0.1308 -0.096)
OKLCHoklch(42.07% 0.162 323.7)
XYZxyz(11.6455, 6.3767, 20.3520)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75217E #2A7E21
analogous
#46217E #75217E #7E2158
triadic
#75217E #7E7521 #217E75
tetradic
#75217E #7E4621 #2A7E21 #21587E
square
#75217E #7E4621 #2A7E21 #21587E
split-complementary
#75217E #587E21 #217E46
monochromatic
#1B081D #48144E #75217E #A22EAE #C34AD0

Accessibility & contrast

On white

9.23
#75217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#75217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75217E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75217E#FFFFFF#000000##FFFFFF
##75217E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014181
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#77314D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75217e;
/* rgb */ color: rgb(117, 33, 126);
/* oklch */ color: oklch(42.1% 0.162 323.7);
Tailwind
colors: {
  custom: {
    50: '#a065a4',
    500: '#75217e',
    950: '#000000',
  },
}
SCSS
$custom: #75217e;
$custom-light: #a065a4;
$custom-dark: #000000;
JSON
{
  "hex": "#75217e",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 294.194,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.16224,
    "h": 323.7
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#75217E
secondary
#54B14A
accent
#E24655
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75217E

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

Preview Lab → · Contrast checker → · Palette generator →

#75217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva