#75218A#75218A

#75218A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.173 H 318.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#75218A
RGBrgb(117, 33, 138)
HSLhsl(288, 61%, 34%)
HSVhsv(288, 76%, 54%)
CMYKcmyk(15.2%, 76.1%, 0%, 45.9%)
CIE-LABlab(31.13, 50.91, -40.69)
CIE-LCHlch(31.13, 65.17, 321.37°)
OKLaboklab(42.88% 0.1299 -0.1143)
OKLCHoklch(42.88% 0.173 318.7)
XYZxyz(12.4668, 6.7052, 24.6774)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75218A #368A21
analogous
#40218A #75218A #8A216A
triadic
#75218A #8A7521 #218A75
tetradic
#75218A #8A4021 #368A21 #216A8A
square
#75218A #8A4021 #368A21 #216A8A
split-complementary
#75218A #6A8A21 #218A40
monochromatic
#210927 #4B1559 #75218A #9F2DBB #BB50D5

Accessibility & contrast

On white

8.97
#75218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#75218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75218A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75218A#FFFFFF#000000##FFFFFF
##75218A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#274C88
Tritanopia (blue-blind)
#753754
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #75218a;
/* rgb */ color: rgb(117, 33, 138);
/* oklch */ color: oklch(42.9% 0.173 318.7);
Tailwind
colors: {
  custom: {
    50: '#a066ad',
    500: '#75218a',
    950: '#000000',
  },
}
SCSS
$custom: #75218a;
$custom-light: #a066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#75218a",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 288,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.17299,
    "h": 318.7
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#75218A
secondary
#64B94E
accent
#E54364
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75218A

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

Preview Lab → · Contrast checker → · Palette generator →

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