#79228E#79228E

#79228E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.177 H 318.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#79228E
RGBrgb(121, 34, 142)
HSLhsl(288, 61%, 35%)
HSVhsv(288, 76%, 56%)
CMYKcmyk(14.8%, 76.1%, 0%, 44.3%)
CIE-LABlab(32.17, 52.19, -41.44)
CIE-LCHlch(32.17, 66.64, 321.55°)
OKLaboklab(43.84% 0.1335 -0.1164)
OKLCHoklch(43.84% 0.177 318.9)
XYZxyz(13.3390, 7.1626, 26.2658)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79228E #378E22
analogous
#43228E #79228E #8E226D
triadic
#79228E #8E7922 #228E79
tetradic
#79228E #8E4322 #378E22 #226D8E
square
#79228E #8E4322 #378E22 #226D8E
split-complementary
#79228E #6D8E22 #228E43
monochromatic
#250A2B #4F165D #79228E #A32EBF #BD54D6

Accessibility & contrast

On white

8.63
#79228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#79228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79228E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79228E#FFFFFF#000000##FFFFFF
##79228E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#793856
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79228e;
/* rgb */ color: rgb(121, 34, 142);
/* oklch */ color: oklch(43.8% 0.177 318.9);
Tailwind
colors: {
  custom: {
    50: '#a367b0',
    500: '#79228e',
    950: '#000000',
  },
}
SCSS
$custom: #79228e;
$custom-light: #a367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79228e",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 288.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43837,
    "c": 0.17712,
    "h": 318.9
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#79228E
secondary
#66BA52
accent
#E44363
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79228E

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

Preview Lab → · Contrast checker → · Palette generator →

#79228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva