#791477#791477

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

Color values

HEX#791477
RGBrgb(121, 20, 119)
HSLhsl(301, 72%, 28%)
HSVhsv(301, 83%, 47%)
CMYKcmyk(0%, 83.5%, 1.7%, 52.5%)
CIE-LABlab(29.15, 52.42, -31.88)
CIE-LCHlch(29.15, 61.35, 328.69°)
OKLaboklab(41.22% 0.1474 -0.0883)
OKLCHoklch(41.22% 0.172 329.1)
XYZxyz(11.4650, 5.8981, 17.9838)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791477 #147916
analogous
#481479 #791477 #791445
triadic
#791477 #777914 #147779
tetradic
#791477 #794814 #147916 #144579
square
#791477 #794814 #147916 #144579
split-complementary
#791477 #457914 #147948
monochromatic
#1A041A #440B43 #791477 #AE1DAB #DC2BD9

Accessibility & contrast

On white

9.64
#791477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#791477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791477
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791477#FFFFFF#000000##FFFFFF
##7914771.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791477;
/* rgb */ color: rgb(121, 20, 119);
/* oklch */ color: oklch(41.2% 0.172 329.1);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#791477',
    950: '#000000',
  },
}
SCSS
$custom: #791477;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#791477",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 301.188,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.17185,
    "h": 329.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#791477
secondary
#3AAF3C
accent
#EE3D39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791477

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

Preview Lab → · Contrast checker → · Palette generator →

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