#79218D#79218D

#79218D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.177 H 319.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#79218D
RGBrgb(121, 33, 141)
HSLhsl(289, 62%, 34%)
HSVhsv(289, 77%, 55%)
CMYKcmyk(14.2%, 76.6%, 0%, 44.7%)
CIE-LABlab(31.98, 52.35, -41.14)
CIE-LCHlch(31.98, 66.58, 321.84°)
OKLaboklab(43.68% 0.1346 -0.1155)
OKLCHoklch(43.68% 0.177 319.4)
XYZxyz(13.2361, 7.0764, 25.8628)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79218D #358D21
analogous
#43218D #79218D #8D216B
triadic
#79218D #8D7921 #218D79
tetradic
#79218D #8D4321 #358D21 #216B8D
square
#79218D #8D4321 #358D21 #216B8D
split-complementary
#79218D #6B8D21 #218D43
monochromatic
#240A2A #4E155B #79218D #A42DBF #BE52D6

Accessibility & contrast

On white

8.69
#79218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#79218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79218D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79218D#FFFFFF#000000##FFFFFF
##79218D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#294E8B
Tritanopia (blue-blind)
#793756
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79218d;
/* rgb */ color: rgb(121, 33, 141);
/* oklch */ color: oklch(43.7% 0.177 319.4);
Tailwind
colors: {
  custom: {
    50: '#a366af',
    500: '#79218d',
    950: '#000000',
  },
}
SCSS
$custom: #79218d;
$custom-light: #a366af;
$custom-dark: #000000;
JSON
{
  "hex": "#79218d",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 288.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.17733,
    "h": 319.4
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#79218D
secondary
#63BA50
accent
#E54361
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79218D

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

Preview Lab → · Contrast checker → · Palette generator →

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