#75217F#75217F

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

Color values

HEX#75217F
RGBrgb(117, 33, 127)
HSLhsl(294, 59%, 31%)
HSVhsv(294, 74%, 50%)
CMYKcmyk(7.9%, 74%, 0%, 50.2%)
CIE-LABlab(30.41, 48.77, -34.98)
CIE-LCHlch(30.41, 60.02, 324.35°)
OKLaboklab(42.13% 0.1307 -0.0976)
OKLCHoklch(42.13% 0.163 323.3)
XYZxyz(11.7104, 6.4026, 20.6936)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75217F #2B7F21
analogous
#46217F #75217F #7F215A
triadic
#75217F #7F7521 #217F75
tetradic
#75217F #7F4621 #2B7F21 #215A7F
square
#75217F #7F4621 #2B7F21 #215A7F
split-complementary
#75217F #5A7F21 #217F46
monochromatic
#1B081E #48144E #75217F #A22EB0 #C24AD0

Accessibility & contrast

On white

9.21
#75217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #75217F
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75217F#FFFFFF#000000##FFFFFF
##75217F1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#304B7D
Tritanopia (blue-blind)
#77324E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #75217f;
/* rgb */ color: rgb(117, 33, 127);
/* oklch */ color: oklch(42.1% 0.163 323.3);
Tailwind
colors: {
  custom: {
    50: '#a065a4',
    500: '#75217f',
    950: '#000000',
  },
}
SCSS
$custom: #75217f;
$custom-light: #a065a4;
$custom-dark: #000000;
JSON
{
  "hex": "#75217f",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 293.617,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.16313,
    "h": 323.3
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#75217F
secondary
#55B24A
accent
#E24656
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #75217F

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

Preview Lab → · Contrast checker → · Palette generator →

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