#791680#791680

#791680 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.177 H 325.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#791680
RGBrgb(121, 22, 128)
HSLhsl(296, 71%, 29%)
HSVhsv(296, 83%, 50%)
CMYKcmyk(5.5%, 82.8%, 0%, 49.8%)
CIE-LABlab(29.91, 53.43, -36.36)
CIE-LCHlch(29.91, 64.63, 325.76°)
OKLaboklab(41.93% 0.1453 -0.1014)
OKLCHoklch(41.93% 0.177 325.1)
XYZxyz(12.0681, 6.1981, 20.9786)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791680 #1D8016
analogous
#441680 #791680 #801652
triadic
#791680 #807916 #168079
tetradic
#791680 #804416 #1D8016 #165280
square
#791680 #804416 #1D8016 #165280
split-complementary
#791680 #528016 #168044
monochromatic
#19041A #480D4C #791680 #AA1FB4 #D134DC

Accessibility & contrast

On white

9.38
#791680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#791680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791680
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791680#FFFFFF#000000##FFFFFF
##7916801.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2F4A7E
Tritanopia (blue-blind)
#7C2B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791680;
/* rgb */ color: rgb(121, 22, 128);
/* oklch */ color: oklch(41.9% 0.177 325.1);
Tailwind
colors: {
  custom: {
    50: '#a362a5',
    500: '#791680',
    950: '#000000',
  },
}
SCSS
$custom: #791680;
$custom-light: #a362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791680",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 296.038,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.17721,
    "h": 325.1
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#791680
secondary
#45B53D
accent
#ED3A46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791680

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

Preview Lab → · Contrast checker → · Palette generator →

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