#791780#791780

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

Color values

HEX#791780
RGBrgb(121, 23, 128)
HSLhsl(296, 70%, 30%)
HSVhsv(296, 82%, 50%)
CMYKcmyk(5.5%, 82%, 0%, 49.8%)
CIE-LABlab(30.00, 53.15, -36.21)
CIE-LCHlch(30.00, 64.31, 325.73°)
OKLaboklab(42% 0.1446 -0.101)
OKLCHoklch(42% 0.176 325.1)
XYZxyz(12.0875, 6.2371, 20.9851)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791780 #1E8017
analogous
#451780 #791780 #801753
triadic
#791780 #807917 #178079
tetradic
#791780 #804517 #1E8017 #175380
square
#791780 #804517 #1E8017 #175380
split-complementary
#791780 #538017 #178045
monochromatic
#19051A #480E4C #791780 #AA20B4 #D036DB

Accessibility & contrast

On white

9.34
#791780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#791780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791780
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791780#FFFFFF#000000##FFFFFF
##7917801.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#7C2C4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791780;
/* rgb */ color: rgb(121, 23, 128);
/* oklch */ color: oklch(42.0% 0.176 325.1);
Tailwind
colors: {
  custom: {
    50: '#a362a5',
    500: '#791780',
    950: '#000000',
  },
}
SCSS
$custom: #791780;
$custom-light: #a362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791780",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 296,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.17633,
    "h": 325.1
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#791780
secondary
#46B43E
accent
#EC3B47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791780

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

Preview Lab → · Contrast checker → · Palette generator →

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