#79229C#79229C

#79229C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.190 H 313.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#79229C
RGBrgb(121, 34, 156)
HSLhsl(283, 64%, 37%)
HSVhsv(283, 78%, 61%)
CMYKcmyk(22.4%, 78.2%, 0%, 38.8%)
CIE-LABlab(33.16, 55.02, -48.43)
CIE-LCHlch(33.16, 73.30, 318.64°)
OKLaboklab(44.84% 0.1315 -0.1369)
OKLCHoklch(44.84% 0.19 313.9)
XYZxyz(14.4569, 7.6098, 32.1533)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79229C #459C22
analogous
#3C229C #79229C #9C2282
triadic
#79229C #9C7922 #229C79
tetradic
#79229C #9C3C22 #459C22 #22829C
square
#79229C #9C3C22 #459C22 #22829C
split-complementary
#79229C #829C22 #229C3C
monochromatic
#2B0C38 #52176A #79229C #A02DCE #B75DDC

Accessibility & contrast

On white

8.33
#79229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#79229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79229C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79229C#FFFFFF#000000##FFFFFF
##79229C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#165099
Tritanopia (blue-blind)
#753F5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79229c;
/* rgb */ color: rgb(121, 34, 156);
/* oklch */ color: oklch(44.8% 0.190 313.9);
Tailwind
colors: {
  custom: {
    50: '#a468ba',
    500: '#79229c',
    950: '#000000',
  },
}
SCSS
$custom: #79229c;
$custom-light: #a468ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79229c",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 282.787,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44843,
    "c": 0.18981,
    "h": 313.9
  },
  "luminance": 0.07609
}

Semantic roles & 50–950 ramp

primary
#79229C
secondary
#77C05A
accent
#E74170
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79229C

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

Preview Lab → · Contrast checker → · Palette generator →

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