#79228B#79228B

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

Color values

HEX#79228B
RGBrgb(121, 34, 139)
HSLhsl(290, 61%, 34%)
HSVhsv(290, 76%, 55%)
CMYKcmyk(12.9%, 75.5%, 0%, 45.5%)
CIE-LABlab(31.97, 51.60, -39.91)
CIE-LCHlch(31.97, 65.23, 322.28°)
OKLaboklab(43.63% 0.1338 -0.1119)
OKLCHoklch(43.63% 0.174 320.1)
XYZxyz(13.1168, 7.0738, 25.0956)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79228B #348B22
analogous
#45228B #79228B #8B2269
triadic
#79228B #8B7922 #228B79
tetradic
#79228B #8B4522 #348B22 #22698B
square
#79228B #8B4522 #348B22 #22698B
split-complementary
#79228B #698B22 #228B45
monochromatic
#230A29 #4E165A #79228B #A42EBC #BE53D5

Accessibility & contrast

On white

8.70
#79228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79228B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79228B#FFFFFF#000000##FFFFFF
##79228B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#793755
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79228b;
/* rgb */ color: rgb(121, 34, 139);
/* oklch */ color: oklch(43.6% 0.174 320.1);
Tailwind
colors: {
  custom: {
    50: '#a367ad',
    500: '#79228b',
    950: '#000000',
  },
}
SCSS
$custom: #79228b;
$custom-light: #a367ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79228b",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 289.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.17443,
    "h": 320.1
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#79228B
secondary
#62B850
accent
#E4445F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79228B

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

Preview Lab → · Contrast checker → · Palette generator →

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