#79229E#79229E

#79229E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.192 H 313.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#79229E
RGBrgb(121, 34, 158)
HSLhsl(282, 65%, 38%)
HSVhsv(282, 78%, 62%)
CMYKcmyk(23.4%, 78.5%, 0%, 38%)
CIE-LABlab(33.30, 55.43, -49.41)
CIE-LCHlch(33.30, 74.26, 318.29°)
OKLaboklab(44.99% 0.1311 -0.1397)
OKLCHoklch(44.99% 0.192 313.2)
XYZxyz(14.6276, 7.6781, 33.0526)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79229E #479E22
analogous
#3B229E #79229E #9E2285
triadic
#79229E #9E7922 #229E79
tetradic
#79229E #9E3B22 #479E22 #22859E
square
#79229E #9E3B22 #479E22 #22859E
split-complementary
#79229E #859E22 #229E3B
monochromatic
#2C0C39 #52176C #79229E #A02DD0 #B75EDC

Accessibility & contrast

On white

8.28
#79229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#79229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79229E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79229E#FFFFFF#000000##FFFFFF
##79229E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#753F60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79229e;
/* rgb */ color: rgb(121, 34, 158);
/* oklch */ color: oklch(45.0% 0.192 313.2);
Tailwind
colors: {
  custom: {
    50: '#a468bb',
    500: '#79229e',
    950: '#000000',
  },
}
SCSS
$custom: #79229e;
$custom-light: #a468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#79229e",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 282.097,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.19164,
    "h": 313.2
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#79229E
secondary
#79C15B
accent
#E84072
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79229E

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

Preview Lab → · Contrast checker → · Palette generator →

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