#79227D#79227D

#79227D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.162 H 326.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#79227D
RGBrgb(121, 34, 125)
HSLhsl(297, 57%, 31%)
HSVhsv(297, 73%, 49%)
CMYKcmyk(3.2%, 72.8%, 0%, 51%)
CIE-LABlab(31.09, 48.95, -32.59)
CIE-LCHlch(31.09, 58.81, 326.35°)
OKLaboklab(42.72% 0.1345 -0.0905)
OKLCHoklch(42.72% 0.162 326.1)
XYZxyz(12.1586, 6.6905, 20.0490)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79227D #267D22
analogous
#4B227D #79227D #7D2253
triadic
#79227D #7D7922 #227D79
tetradic
#79227D #7D4B22 #267D22 #22537D
square
#79227D #7D4B22 #267D22 #22537D
split-complementary
#79227D #537D22 #227D4B
monochromatic
#1C081D #4A154D #79227D #A82FAD #C84BCE

Accessibility & contrast

On white

8.98
#79227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#79227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79227D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79227D#FFFFFF#000000##FFFFFF
##79227D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4280
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#7C314D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79227d;
/* rgb */ color: rgb(121, 34, 125);
/* oklch */ color: oklch(42.7% 0.162 326.1);
Tailwind
colors: {
  custom: {
    50: '#a366a3',
    500: '#79227d',
    950: '#000000',
  },
}
SCSS
$custom: #79227d;
$custom-light: #a366a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79227d",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 297.363,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42717,
    "c": 0.16214,
    "h": 326.1
  },
  "luminance": 0.0669
}

Semantic roles & 50–950 ramp

primary
#79227D
secondary
#50B04B
accent
#E0474E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79227D

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

Preview Lab → · Contrast checker → · Palette generator →

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