#791470#791470

#791470 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.167 H 332.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#791470
RGBrgb(121, 20, 112)
HSLhsl(305, 72%, 28%)
HSVhsv(305, 83%, 47%)
CMYKcmyk(0%, 83.5%, 7.4%, 52.5%)
CIE-LABlab(28.74, 51.27, -28.08)
CIE-LCHlch(28.74, 58.46, 331.29°)
OKLaboklab(40.79% 0.1475 -0.0773)
OKLCHoklch(40.79% 0.167 332.3)
XYZxyz(11.0600, 5.7361, 15.8508)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791470 #14791D
analogous
#501479 #791470 #79143D
triadic
#791470 #707914 #147079
tetradic
#791470 #795014 #14791D #143D79
square
#791470 #795014 #14791D #143D79
split-complementary
#791470 #3D7914 #147950
monochromatic
#1A0418 #440B3F #791470 #AE1DA1 #DC2BCC

Accessibility & contrast

On white

9.78
#791470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#791470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791470
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791470#FFFFFF#000000##FFFFFF
##7914701.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B72
Deuteranopia (green-blind)
#38496E
Tritanopia (blue-blind)
#7F2142
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791470;
/* rgb */ color: rgb(121, 20, 112);
/* oklch */ color: oklch(40.8% 0.167 332.3);
Tailwind
colors: {
  custom: {
    50: '#a36099',
    500: '#791470',
    950: '#000000',
  },
}
SCSS
$custom: #791470;
$custom-light: #a36099;
$custom-dark: #000000;
JSON
{
  "hex": "#791470",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 305.347,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.16653,
    "h": 332.3
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#791470
secondary
#3AAF44
accent
#EE4A39
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791470

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

Preview Lab → · Contrast checker → · Palette generator →

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