#79229D#79229D

#79229D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.191 H 313.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#79229D
RGBrgb(121, 34, 157)
HSLhsl(282, 64%, 37%)
HSVhsv(282, 78%, 62%)
CMYKcmyk(22.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(33.23, 55.23, -48.92)
CIE-LCHlch(33.23, 73.78, 318.46°)
OKLaboklab(44.92% 0.1313 -0.1383)
OKLCHoklch(44.92% 0.191 313.5)
XYZxyz(14.5419, 7.6438, 32.6011)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79229D #469D22
analogous
#3B229D #79229D #9D2284
triadic
#79229D #9D7922 #229D79
tetradic
#79229D #9D3B22 #469D22 #22849D
square
#79229D #9D3B22 #469D22 #22849D
split-complementary
#79229D #849D22 #229D3B
monochromatic
#2B0C38 #52176B #79229D #A02DCF #B75DDC

Accessibility & contrast

On white

8.30
#79229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#79229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79229D
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79229D#FFFFFF#000000##FFFFFF
##79229D1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#753F5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79229d;
/* rgb */ color: rgb(121, 34, 157);
/* oklch */ color: oklch(44.9% 0.191 313.5);
Tailwind
colors: {
  custom: {
    50: '#a468bb',
    500: '#79229d',
    950: '#000000',
  },
}
SCSS
$custom: #79229d;
$custom-light: #a468bb;
$custom-dark: #000000;
JSON
{
  "hex": "#79229d",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 282.439,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44918,
    "c": 0.19072,
    "h": 313.5
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#79229D
secondary
#78C15A
accent
#E74071
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79229D

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

Preview Lab → · Contrast checker → · Palette generator →

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