#75217D#75217D

#75217D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.161 H 324.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#75217D
RGBrgb(117, 33, 125)
HSLhsl(295, 58%, 31%)
HSVhsv(295, 74%, 49%)
CMYKcmyk(6.4%, 73.6%, 0%, 51%)
CIE-LABlab(30.28, 48.39, -33.92)
CIE-LCHlch(30.28, 59.10, 324.97°)
OKLaboklab(42% 0.1308 -0.0945)
OKLCHoklch(42% 0.161 324.2)
XYZxyz(11.5813, 6.3510, 20.0139)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75217D #297D21
analogous
#47217D #75217D #7D2157
triadic
#75217D #7D7521 #217D75
tetradic
#75217D #7D4721 #297D21 #21577D
square
#75217D #7D4721 #297D21 #21577D
split-complementary
#75217D #577D21 #217D47
monochromatic
#1A071C #48144D #75217D #A22EAD #C349CF

Accessibility & contrast

On white

9.25
#75217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#75217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75217D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75217D#FFFFFF#000000##FFFFFF
##75217D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#77314D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75217d;
/* rgb */ color: rgb(117, 33, 125);
/* oklch */ color: oklch(42.0% 0.161 324.2);
Tailwind
colors: {
  custom: {
    50: '#a065a3',
    500: '#75217d',
    950: '#000000',
  },
}
SCSS
$custom: #75217d;
$custom-light: #a065a3;
$custom-dark: #000000;
JSON
{
  "hex": "#75217d",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 294.783,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.16136,
    "h": 324.2
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#75217D
secondary
#53B04A
accent
#E14654
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75217D

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

Preview Lab → · Contrast checker → · Palette generator →

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