#75217B#75217B

#75217B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.160 H 325.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#75217B
RGBrgb(117, 33, 123)
HSLhsl(296, 58%, 31%)
HSVhsv(296, 73%, 48%)
CMYKcmyk(4.9%, 73.2%, 0%, 51.8%)
CIE-LABlab(30.16, 48.02, -32.86)
CIE-LCHlch(30.16, 58.18, 325.62°)
OKLaboklab(41.88% 0.1309 -0.0914)
OKLCHoklch(41.88% 0.16 325.1)
XYZxyz(11.4549, 6.3004, 19.3478)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75217B #277B21
analogous
#48217B #75217B #7B2154
triadic
#75217B #7B7521 #217B75
tetradic
#75217B #7B4821 #277B21 #21547B
square
#75217B #7B4821 #277B21 #21547B
split-complementary
#75217B #547B21 #217B48
monochromatic
#19071A #47144B #75217B #A32EAB #C548CE

Accessibility & contrast

On white

9.29
#75217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#75217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75217B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75217B#FFFFFF#000000##FFFFFF
##75217B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407E
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#78304C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75217b;
/* rgb */ color: rgb(117, 33, 123);
/* oklch */ color: oklch(41.9% 0.160 325.1);
Tailwind
colors: {
  custom: {
    50: '#a065a1',
    500: '#75217b',
    950: '#000000',
  },
}
SCSS
$custom: #75217b;
$custom-light: #a065a1;
$custom-dark: #000000;
JSON
{
  "hex": "#75217b",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 296,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41877,
    "c": 0.15961,
    "h": 325.1
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#75217B
secondary
#51AE4A
accent
#E14751
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75217B

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

Preview Lab → · Contrast checker → · Palette generator →

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