#792179#792179

#792179 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.160 H 327.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#792179
RGBrgb(121, 33, 121)
HSLhsl(300, 57%, 30%)
HSVhsv(300, 73%, 47%)
CMYKcmyk(0%, 72.7%, 0%, 52.5%)
CIE-LABlab(30.72, 48.61, -30.66)
CIE-LCHlch(30.72, 57.47, 327.76°)
OKLaboklab(42.38% 0.1356 -0.0849)
OKLCHoklch(42.38% 0.16 327.9)
XYZxyz(11.8801, 6.5340, 18.7209)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792179 #217921
analogous
#4D2179 #792179 #79214D
triadic
#792179 #797921 #217979
tetradic
#792179 #794D21 #217921 #214D79
square
#792179 #794D21 #217921 #214D79
split-complementary
#792179 #4D7921 #21794D
monochromatic
#190719 #491449 #792179 #A92EA9 #CD47CD

Accessibility & contrast

On white

9.10
#792179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#792179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792179
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792179#FFFFFF#000000##FFFFFF
##7921791.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417B
Deuteranopia (green-blind)
#384C77
Tritanopia (blue-blind)
#7D2E4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792179;
/* rgb */ color: rgb(121, 33, 121);
/* oklch */ color: oklch(42.4% 0.160 327.9);
Tailwind
colors: {
  custom: {
    50: '#a366a0',
    500: '#792179',
    950: '#000000',
  },
}
SCSS
$custom: #792179;
$custom-light: #a366a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792179",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.15995,
    "h": 327.9
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#792179
secondary
#4AAC4A
accent
#E04747
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #792179

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

Preview Lab → · Contrast checker → · Palette generator →

#792179 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva