#79229B#79229B

#79229B is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.189 H 314.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#79229B
RGBrgb(121, 34, 155)
HSLhsl(283, 64%, 37%)
HSVhsv(283, 78%, 61%)
CMYKcmyk(21.9%, 78.1%, 0%, 39.2%)
CIE-LABlab(33.08, 54.81, -47.94)
CIE-LCHlch(33.08, 72.82, 318.83°)
OKLaboklab(44.77% 0.1317 -0.1354)
OKLCHoklch(44.77% 0.189 314.2)
XYZxyz(14.3726, 7.5761, 31.7092)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79229B #449B22
analogous
#3C229B #79229B #9B2281
triadic
#79229B #9B7922 #229B79
tetradic
#79229B #9B3C22 #449B22 #22819B
square
#79229B #9B3C22 #449B22 #22819B
split-complementary
#79229B #819B22 #229B3C
monochromatic
#2B0C37 #521769 #79229B #A02DCD #B85CDB

Accessibility & contrast

On white

8.35
#79229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#79229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79229B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79229B#FFFFFF#000000##FFFFFF
##79229B1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#185098
Tritanopia (blue-blind)
#763E5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #79229b;
/* rgb */ color: rgb(121, 34, 155);
/* oklch */ color: oklch(44.8% 0.189 314.2);
Tailwind
colors: {
  custom: {
    50: '#a467b9',
    500: '#79229b',
    950: '#000000',
  },
}
SCSS
$custom: #79229b;
$custom-light: #a467b9;
$custom-dark: #000000;
JSON
{
  "hex": "#79229b",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 283.14,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.1889,
    "h": 314.2
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#79229B
secondary
#76C059
accent
#E7416F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79229B

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

Preview Lab → · Contrast checker → · Palette generator →

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