#79227A#79227A

#79227A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 327.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#79227A
RGBrgb(121, 34, 122)
HSLhsl(299, 56%, 31%)
HSVhsv(299, 72%, 48%)
CMYKcmyk(0.8%, 72.1%, 0%, 52.2%)
CIE-LABlab(30.91, 48.41, -30.98)
CIE-LCHlch(30.91, 57.47, 327.38°)
OKLaboklab(42.53% 0.1345 -0.0858)
OKLCHoklch(42.53% 0.16 327.5)
XYZxyz(11.9699, 6.6150, 19.0549)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79227A #237A22
analogous
#4D227A #79227A #7A224F
triadic
#79227A #7A7922 #227A79
tetradic
#79227A #7A4D22 #237A22 #224F7A
square
#79227A #7A4D22 #237A22 #224F7A
split-complementary
#79227A #4F7A22 #227A4D
monochromatic
#1A071A #4A154A #79227A #A82FAA #CB4ACD

Accessibility & contrast

On white

9.04
#79227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#79227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79227A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79227A#FFFFFF#000000##FFFFFF
##79227A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427C
Deuteranopia (green-blind)
#384D78
Tritanopia (blue-blind)
#7D2F4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79227a;
/* rgb */ color: rgb(121, 34, 122);
/* oklch */ color: oklch(42.5% 0.160 327.5);
Tailwind
colors: {
  custom: {
    50: '#a366a1',
    500: '#79227a',
    950: '#000000',
  },
}
SCSS
$custom: #79227a;
$custom-light: #a366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79227a",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 299.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.15957,
    "h": 327.5
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#79227A
secondary
#4CAD4B
accent
#E0484A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #79227A

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

Preview Lab → · Contrast checker → · Palette generator →

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