#791580#791580

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

Color values

HEX#791580
RGBrgb(121, 21, 128)
HSLhsl(296, 72%, 29%)
HSVhsv(296, 84%, 50%)
CMYKcmyk(5.5%, 83.6%, 0%, 49.8%)
CIE-LABlab(29.81, 53.70, -36.51)
CIE-LCHlch(29.81, 64.94, 325.79°)
OKLaboklab(41.87% 0.1461 -0.1018)
OKLCHoklch(41.87% 0.178 325.1)
XYZxyz(12.0493, 6.1606, 20.9724)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791580 #1C8015
analogous
#441580 #791580 #801552
triadic
#791580 #807915 #158079
tetradic
#791580 #804415 #1C8015 #155280
square
#791580 #804415 #1C8015 #155280
split-complementary
#791580 #528015 #158044
monochromatic
#19041A #470C4B #791580 #AB1EB5 #D232DD

Accessibility & contrast

On white

9.41
#791580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791580
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791580#FFFFFF#000000##FFFFFF
##7915801.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791580;
/* rgb */ color: rgb(121, 21, 128);
/* oklch */ color: oklch(41.9% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#791580',
    950: '#000000',
  },
}
SCSS
$custom: #791580;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791580",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 296.075,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.17807,
    "h": 325.1
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#791580
secondary
#44B53C
accent
#EF3945
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791580

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

Preview Lab → · Contrast checker → · Palette generator →

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