#75218D#75218D

#75218D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.176 H 317.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#75218D
RGBrgb(117, 33, 141)
HSLhsl(287, 62%, 34%)
HSVhsv(287, 77%, 55%)
CMYKcmyk(17%, 76.6%, 0%, 44.7%)
CIE-LABlab(31.33, 51.52, -42.21)
CIE-LCHlch(31.33, 66.60, 320.67°)
OKLaboklab(43.09% 0.1295 -0.1187)
OKLCHoklch(43.09% 0.176 317.5)
XYZxyz(12.6870, 6.7933, 25.8371)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75218D #398D21
analogous
#3F218D #75218D #8D216F
triadic
#75218D #8D7521 #218D75
tetradic
#75218D #8D3F21 #398D21 #216F8D
square
#75218D #8D3F21 #398D21 #216F8D
split-complementary
#75218D #6F8D21 #218D3F
monochromatic
#230A2A #4C155B #75218D #9E2DBF #B952D6

Accessibility & contrast

On white

8.90
#75218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#75218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75218D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75218D#FFFFFF#000000##FFFFFF
##75218D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#743856
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #75218d;
/* rgb */ color: rgb(117, 33, 141);
/* oklch */ color: oklch(43.1% 0.176 317.5);
Tailwind
colors: {
  custom: {
    50: '#a066af',
    500: '#75218d',
    950: '#000000',
  },
}
SCSS
$custom: #75218d;
$custom-light: #a066af;
$custom-dark: #000000;
JSON
{
  "hex": "#75218d",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 286.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.17573,
    "h": 317.5
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#75218D
secondary
#67BA50
accent
#E54367
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75218D

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

Preview Lab → · Contrast checker → · Palette generator →

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