#79228F#79228F

#79228F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.178 H 318.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#79228F
RGBrgb(121, 34, 143)
HSLhsl(288, 62%, 35%)
HSVhsv(288, 76%, 56%)
CMYKcmyk(15.4%, 76.2%, 0%, 43.9%)
CIE-LABlab(32.24, 52.38, -41.95)
CIE-LCHlch(32.24, 67.11, 321.31°)
OKLaboklab(43.91% 0.1334 -0.1178)
OKLCHoklch(43.91% 0.178 318.5)
XYZxyz(13.4144, 7.1928, 26.6630)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79228F #388F22
analogous
#43228F #79228F #8F226F
triadic
#79228F #8F7922 #228F79
tetradic
#79228F #8F4322 #388F22 #226F8F
square
#79228F #8F4322 #388F22 #226F8F
split-complementary
#79228F #6F8F22 #228F43
monochromatic
#250A2C #4F165E #79228F #A32EC0 #BC55D7

Accessibility & contrast

On white

8.61
#79228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#79228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79228F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79228F#FFFFFF#000000##FFFFFF
##79228F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#284F8D
Tritanopia (blue-blind)
#793957
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #79228f;
/* rgb */ color: rgb(121, 34, 143);
/* oklch */ color: oklch(43.9% 0.178 318.5);
Tailwind
colors: {
  custom: {
    50: '#a367b0',
    500: '#79228f',
    950: '#000000',
  },
}
SCSS
$custom: #79228f;
$custom-light: #a367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79228f",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 287.89,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.17802,
    "h": 318.5
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#79228F
secondary
#67BA52
accent
#E54364
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #79228F

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

Preview Lab → · Contrast checker → · Palette generator →

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