#792779#792779

#792779 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.152 H 327.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#792779
RGBrgb(121, 39, 121)
HSLhsl(300, 51%, 31%)
HSVhsv(300, 68%, 47%)
CMYKcmyk(0%, 67.8%, 0%, 52.5%)
CIE-LABlab(31.57, 46.21, -29.31)
CIE-LCHlch(31.57, 54.72, 327.61°)
OKLaboklab(42.99% 0.1288 -0.081)
OKLCHoklch(42.99% 0.152 327.8)
XYZxyz(12.0617, 6.8973, 18.7815)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792779 #277927
analogous
#502779 #792779 #792750
triadic
#792779 #797927 #277979
tetradic
#792779 #795027 #277927 #275079
square
#792779 #795027 #277927 #275079
split-complementary
#792779 #507927 #277950
monochromatic
#1C091C #4B184B #792779 #A736A7 #C853C8

Accessibility & contrast

On white

8.83
#792779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792779
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792779#FFFFFF#000000##FFFFFF
##7927791.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#7D324C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792779;
/* rgb */ color: rgb(121, 39, 121);
/* oklch */ color: oklch(43.0% 0.152 327.8);
Tailwind
colors: {
  custom: {
    50: '#a268a0',
    500: '#792779',
    950: '#000000',
  },
}
SCSS
$custom: #792779;
$custom-light: #a268a0;
$custom-dark: #000000;
JSON
{
  "hex": "#792779",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42988,
    "c": 0.15217,
    "h": 327.8
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#792779
secondary
#51AB51
accent
#DB4D4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792779

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

Preview Lab → · Contrast checker → · Palette generator →

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