#75218F#75218F

#75218F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.178 H 316.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#75218F
RGBrgb(117, 33, 143)
HSLhsl(286, 63%, 35%)
HSVhsv(286, 77%, 56%)
CMYKcmyk(18.2%, 76.9%, 0%, 43.9%)
CIE-LABlab(31.47, 51.92, -43.22)
CIE-LCHlch(31.47, 67.56, 320.22°)
OKLaboklab(43.23% 0.1293 -0.1217)
OKLCHoklch(43.23% 0.178 316.7)
XYZxyz(12.8372, 6.8533, 26.6279)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75218F #3B8F21
analogous
#3E218F #75218F #8F2172
triadic
#75218F #8F7521 #218F75
tetradic
#75218F #8F3E21 #3B8F21 #21728F
square
#75218F #8F3E21 #3B8F21 #21728F
split-complementary
#75218F #728F21 #218F3E
monochromatic
#240A2C #4C165D #75218F #9E2CC1 #B853D7

Accessibility & contrast

On white

8.86
#75218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#75218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75218F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75218F#FFFFFF#000000##FFFFFF
##75218F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#224C8D
Tritanopia (blue-blind)
#743957
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #75218f;
/* rgb */ color: rgb(117, 33, 143);
/* oklch */ color: oklch(43.2% 0.178 316.7);
Tailwind
colors: {
  custom: {
    50: '#a166b0',
    500: '#75218f',
    950: '#000000',
  },
}
SCSS
$custom: #75218f;
$custom-light: #a166b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75218f",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 285.818,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.17754,
    "h": 316.7
  },
  "luminance": 0.06853
}

Semantic roles & 50–950 ramp

primary
#75218F
secondary
#6ABB51
accent
#E64269
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #75218F

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

Preview Lab → · Contrast checker → · Palette generator →

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