#79228A#79228A

#79228A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 320.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#79228A
RGBrgb(121, 34, 138)
HSLhsl(290, 60%, 34%)
HSVhsv(290, 75%, 54%)
CMYKcmyk(12.3%, 75.4%, 0%, 45.9%)
CIE-LABlab(31.91, 51.40, -39.40)
CIE-LCHlch(31.91, 64.76, 322.53°)
OKLaboklab(43.56% 0.1339 -0.1104)
OKLCHoklch(43.56% 0.174 320.5)
XYZxyz(13.0441, 7.0447, 24.7125)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79228A #338A22
analogous
#45228A #79228A #8A2267
triadic
#79228A #8A7922 #228A79
tetradic
#79228A #8A4522 #338A22 #22678A
square
#79228A #8A4522 #338A22 #22678A
split-complementary
#79228A #678A22 #228A45
monochromatic
#230A28 #4E1659 #79228A #A42EBB #BF52D4

Accessibility & contrast

On white

8.72
#79228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#79228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79228A
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79228A#FFFFFF#000000##FFFFFF
##79228A1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#7A3654
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79228a;
/* rgb */ color: rgb(121, 34, 138);
/* oklch */ color: oklch(43.6% 0.174 320.5);
Tailwind
colors: {
  custom: {
    50: '#a367ad',
    500: '#79228a',
    950: '#000000',
  },
}
SCSS
$custom: #79228a;
$custom-light: #a367ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79228a",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 290.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.17354,
    "h": 320.5
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#79228A
secondary
#61B850
accent
#E4445E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79228A

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

Preview Lab → · Contrast checker → · Palette generator →

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