#792176#792176

#792176 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.157 H 329.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#792176
RGBrgb(121, 33, 118)
HSLhsl(302, 57%, 30%)
HSVhsv(302, 73%, 47%)
CMYKcmyk(0%, 72.7%, 2.5%, 52.5%)
CIE-LABlab(30.55, 48.08, -29.04)
CIE-LCHlch(30.55, 56.17, 328.87°)
OKLaboklab(42.2% 0.1355 -0.0802)
OKLCHoklch(42.2% 0.157 329.4)
XYZxyz(11.6989, 6.4615, 17.7671)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792176 #217924
analogous
#502179 #792176 #79214A
triadic
#792176 #767921 #217679
tetradic
#792176 #795021 #217924 #214A79
square
#792176 #795021 #217924 #214A79
split-complementary
#792176 #4A7921 #217950
monochromatic
#190718 #491447 #792176 #A92EA5 #CD47C8

Accessibility & contrast

On white

9.16
#792176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#792176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792176
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792176#FFFFFF#000000##FFFFFF
##7921761.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164078
Deuteranopia (green-blind)
#3A4C74
Tritanopia (blue-blind)
#7D2D49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792176;
/* rgb */ color: rgb(121, 33, 118);
/* oklch */ color: oklch(42.2% 0.157 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3659e',
    500: '#792176',
    950: '#000000',
  },
}
SCSS
$custom: #792176;
$custom-light: #a3659e;
$custom-dark: #000000;
JSON
{
  "hex": "#792176",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 302.045,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42195,
    "c": 0.15744,
    "h": 329.4
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#792176
secondary
#4AAC4D
accent
#E04D47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792176

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

Preview Lab → · Contrast checker → · Palette generator →

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