#791678#791678

#791678 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.171 H 328.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#791678
RGBrgb(121, 22, 120)
HSLhsl(301, 69%, 28%)
HSVhsv(301, 82%, 47%)
CMYKcmyk(0%, 81.8%, 0.8%, 52.5%)
CIE-LABlab(29.40, 52.05, -32.12)
CIE-LCHlch(29.40, 61.16, 328.32°)
OKLaboklab(41.41% 0.1458 -0.089)
OKLCHoklch(41.41% 0.171 328.6)
XYZxyz(11.5621, 5.9957, 18.3140)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791678 #167917
analogous
#481679 #791678 #791646
triadic
#791678 #787916 #167879
tetradic
#791678 #794816 #167917 #164679
square
#791678 #794816 #167917 #164679
split-complementary
#791678 #467916 #167948
monochromatic
#1A051A #450D45 #791678 #AD1FAB #D930D8

Accessibility & contrast

On white

9.55
#791678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#791678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791678
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791678#FFFFFF#000000##FFFFFF
##7916781.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#7D2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791678;
/* rgb */ color: rgb(121, 22, 120);
/* oklch */ color: oklch(41.4% 0.171 328.6);
Tailwind
colors: {
  custom: {
    50: '#a3619f',
    500: '#791678',
    950: '#000000',
  },
}
SCSS
$custom: #791678;
$custom-light: #a3619f;
$custom-dark: #000000;
JSON
{
  "hex": "#791678",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 300.606,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.17087,
    "h": 328.6
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#791678
secondary
#3DAE3E
accent
#EC3E3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791678

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

Preview Lab → · Contrast checker → · Palette generator →

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