#791474#791474

#791474 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.170 H 330.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#791474
RGBrgb(121, 20, 116)
HSLhsl(303, 72%, 28%)
HSVhsv(303, 83%, 47%)
CMYKcmyk(0%, 83.5%, 4.1%, 52.5%)
CIE-LABlab(28.97, 51.92, -30.26)
CIE-LCHlch(28.97, 60.10, 329.77°)
OKLaboklab(41.03% 0.1475 -0.0836)
OKLCHoklch(41.03% 0.17 330.4)
XYZxyz(11.2877, 5.8271, 17.0499)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791474 #147919
analogous
#4B1479 #791474 #791442
triadic
#791474 #747914 #147479
tetradic
#791474 #794B14 #147919 #144279
square
#791474 #794B14 #147919 #144279
split-complementary
#791474 #427914 #14794B
monochromatic
#1A0419 #440B42 #791474 #AE1DA6 #DC2BD3

Accessibility & contrast

On white

9.70
#791474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#791474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791474
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791474#FFFFFF#000000##FFFFFF
##7914741.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#7E2445
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791474;
/* rgb */ color: rgb(121, 20, 116);
/* oklch */ color: oklch(41.0% 0.170 330.4);
Tailwind
colors: {
  custom: {
    50: '#a3609c',
    500: '#791474',
    950: '#000000',
  },
}
SCSS
$custom: #791474;
$custom-light: #a3609c;
$custom-dark: #000000;
JSON
{
  "hex": "#791474",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 302.97,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4103,
    "c": 0.16956,
    "h": 330.4
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#791474
secondary
#3AAF40
accent
#EE4239
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791474

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

Preview Lab → · Contrast checker → · Palette generator →

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