#791679#791679

#791679 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.172 H 328.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#791679
RGBrgb(121, 22, 121)
HSLhsl(300, 69%, 28%)
HSVhsv(300, 82%, 47%)
CMYKcmyk(0%, 81.8%, 0%, 52.5%)
CIE-LABlab(29.46, 52.22, -32.66)
CIE-LCHlch(29.46, 61.59, 327.98°)
OKLaboklab(41.48% 0.1458 -0.0906)
OKLCHoklch(41.48% 0.172 328.1)
XYZxyz(11.6231, 6.0201, 18.6353)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791679 #167916
analogous
#471679 #791679 #791647
triadic
#791679 #797916 #167979
tetradic
#791679 #794716 #167916 #164779
square
#791679 #794716 #167916 #164779
split-complementary
#791679 #477916 #167947
monochromatic
#1A051A #450D45 #791679 #AD1FAD #D930D9

Accessibility & contrast

On white

9.53
#791679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#791679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791679
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791679#FFFFFF#000000##FFFFFF
##7916791.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#7D2748
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791679;
/* rgb */ color: rgb(121, 22, 121);
/* oklch */ color: oklch(41.5% 0.172 328.1);
Tailwind
colors: {
  custom: {
    50: '#a361a0',
    500: '#791679',
    950: '#000000',
  },
}
SCSS
$custom: #791679;
$custom-light: #a361a0;
$custom-dark: #000000;
JSON
{
  "hex": "#791679",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.17165,
    "h": 328.1
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#791679
secondary
#3DAE3D
accent
#EC3C3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #791679

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

Preview Lab → · Contrast checker → · Palette generator →

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