#792076#792076

#792076 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.159 H 329.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#792076
RGBrgb(121, 32, 118)
HSLhsl(302, 58%, 30%)
HSVhsv(302, 74%, 47%)
CMYKcmyk(0%, 73.6%, 2.5%, 52.5%)
CIE-LABlab(30.42, 48.45, -29.24)
CIE-LCHlch(30.42, 56.59, 328.89°)
OKLaboklab(42.1% 0.1366 -0.0808)
OKLCHoklch(42.1% 0.159 329.4)
XYZxyz(11.6716, 6.4068, 17.7579)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792076 #207923
analogous
#4F2079 #792076 #79204A
triadic
#792076 #767920 #207679
tetradic
#792076 #794F20 #207923 #204A79
square
#792076 #794F20 #207923 #204A79
split-complementary
#792076 #4A7920 #20794F
monochromatic
#180618 #491347 #792076 #A92DA5 #CE45C9

Accessibility & contrast

On white

9.21
#792076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#792076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792076
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792076#FFFFFF#000000##FFFFFF
##7920761.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144078
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#7D2C49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792076;
/* rgb */ color: rgb(121, 32, 118);
/* oklch */ color: oklch(42.1% 0.159 329.4);
Tailwind
colors: {
  custom: {
    50: '#a3659e',
    500: '#792076',
    950: '#000000',
  },
}
SCSS
$custom: #792076;
$custom-light: #a3659e;
$custom-dark: #000000;
JSON
{
  "hex": "#792076",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 302.022,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.421,
    "c": 0.15867,
    "h": 329.4
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#792076
secondary
#49AC4C
accent
#E14C46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792076

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

Preview Lab → · Contrast checker → · Palette generator →

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