#79227B#79227B

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

Color values

HEX#79227B
RGBrgb(121, 34, 123)
HSLhsl(299, 57%, 31%)
HSVhsv(299, 72%, 48%)
CMYKcmyk(1.6%, 72.4%, 0%, 51.8%)
CIE-LABlab(30.97, 48.59, -31.52)
CIE-LCHlch(30.97, 57.92, 327.03°)
OKLaboklab(42.59% 0.1345 -0.0874)
OKLCHoklch(42.59% 0.16 327)
XYZxyz(12.0321, 6.6399, 19.3829)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79227B #247B22
analogous
#4C227B #79227B #7B2250
triadic
#79227B #7B7922 #227B79
tetradic
#79227B #7B4C22 #247B22 #22507B
square
#79227B #7B4C22 #247B22 #22507B
split-complementary
#79227B #507B22 #227B4C
monochromatic
#1B071B #4A154B #79227B #A82FAB #CA4ACD

Accessibility & contrast

On white

9.02
#79227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#79227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79227B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79227B#FFFFFF#000000##FFFFFF
##79227B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427E
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#7D304C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79227b;
/* rgb */ color: rgb(121, 34, 123);
/* oklch */ color: oklch(42.6% 0.160 327.0);
Tailwind
colors: {
  custom: {
    50: '#a366a1',
    500: '#79227b',
    950: '#000000',
  },
}
SCSS
$custom: #79227b;
$custom-light: #a366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79227b",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 298.652,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.16042,
    "h": 327
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#79227B
secondary
#4DAE4B
accent
#E0484B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79227B

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

Preview Lab → · Contrast checker → · Palette generator →

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