#791577#791577

#791577 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.171 H 329.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#791577
RGBrgb(121, 21, 119)
HSLhsl(301, 70%, 28%)
HSVhsv(301, 83%, 47%)
CMYKcmyk(0%, 82.6%, 1.7%, 52.5%)
CIE-LABlab(29.25, 52.15, -31.74)
CIE-LCHlch(29.25, 61.05, 328.68°)
OKLaboklab(41.28% 0.1466 -0.0879)
OKLCHoklch(41.28% 0.171 329.1)
XYZxyz(11.4830, 5.9341, 17.9898)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791577 #157917
analogous
#491579 #791577 #791545
triadic
#791577 #777915 #157779
tetradic
#791577 #794915 #157917 #154579
square
#791577 #794915 #157917 #154579
split-complementary
#791577 #457915 #157949
monochromatic
#1A051A #450C44 #791577 #AD1EAA #DB2ED7

Accessibility & contrast

On white

9.60
#791577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#791577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791577
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791577#FFFFFF#000000##FFFFFF
##7915771.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#7D2647
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791577;
/* rgb */ color: rgb(121, 21, 119);
/* oklch */ color: oklch(41.3% 0.171 329.1);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#791577',
    950: '#000000',
  },
}
SCSS
$custom: #791577;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#791577",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 301.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41283,
    "c": 0.17098,
    "h": 329.1
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#791577
secondary
#3BAF3E
accent
#ED3E3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791577

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

Preview Lab → · Contrast checker → · Palette generator →

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