#75218B#75218B

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

Color values

HEX#75218B
RGBrgb(117, 33, 139)
HSLhsl(288, 62%, 34%)
HSVhsv(288, 76%, 55%)
CMYKcmyk(15.8%, 76.3%, 0%, 45.5%)
CIE-LABlab(31.19, 51.11, -41.20)
CIE-LCHlch(31.19, 65.65, 321.13°)
OKLaboklab(42.95% 0.1298 -0.1158)
OKLCHoklch(42.95% 0.174 318.3)
XYZxyz(12.5395, 6.7343, 25.0604)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75218B #378B21
analogous
#40218B #75218B #8B216C
triadic
#75218B #8B7521 #218B75
tetradic
#75218B #8B4021 #378B21 #216C8B
square
#75218B #8B4021 #378B21 #216C8B
split-complementary
#75218B #6C8B21 #218B40
monochromatic
#220A28 #4B155A #75218B #9F2DBC #BA51D6

Accessibility & contrast

On white

8.95
#75218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#75218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75218B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75218B#FFFFFF#000000##FFFFFF
##75218B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#743755
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #75218b;
/* rgb */ color: rgb(117, 33, 139);
/* oklch */ color: oklch(42.9% 0.174 318.3);
Tailwind
colors: {
  custom: {
    50: '#a066ad',
    500: '#75218b',
    950: '#000000',
  },
}
SCSS
$custom: #75218b;
$custom-light: #a066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#75218b",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 287.547,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.1739,
    "h": 318.3
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#75218B
secondary
#65B94F
accent
#E54365
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75218B

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

Preview Lab → · Contrast checker → · Palette generator →

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