#791A7A#791A7A

#791A7A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.169 H 327.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#791A7A
RGBrgb(121, 26, 122)
HSLhsl(299, 65%, 29%)
HSVhsv(299, 79%, 48%)
CMYKcmyk(0.8%, 78.7%, 0%, 52.2%)
CIE-LABlab(29.94, 51.20, -32.54)
CIE-LCHlch(29.94, 60.67, 327.56°)
OKLaboklab(41.83% 0.1424 -0.0903)
OKLCHoklch(41.83% 0.169 327.6)
XYZxyz(11.7672, 6.2097, 18.9874)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A7A #1B7A1A
analogous
#491A7A #791A7A #7A1A4B
triadic
#791A7A #7A791A #1A7A79
tetradic
#791A7A #7A491A #1B7A1A #1A4B7A
square
#791A7A #7A491A #1B7A1A #1A4B7A
split-complementary
#791A7A #4B7A1A #1A7A49
monochromatic
#190519 #470F48 #791A7A #AB25AC #D339D5

Accessibility & contrast

On white

9.37
#791A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#791A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A7A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A7A#FFFFFF#000000##FFFFFF
##791A7A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#7D2A49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791a7a;
/* rgb */ color: rgb(121, 26, 122);
/* oklch */ color: oklch(41.8% 0.169 327.6);
Tailwind
colors: {
  custom: {
    50: '#a363a1',
    500: '#791a7a',
    950: '#000000',
  },
}
SCSS
$custom: #791a7a;
$custom-light: #a363a1;
$custom-dark: #000000;
JSON
{
  "hex": "#791a7a",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 299.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.16861,
    "h": 327.6
  },
  "luminance": 0.06209
}

Semantic roles & 50–950 ramp

primary
#791A7A
secondary
#43AE41
accent
#E84042
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #791A7A

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

Preview Lab → · Contrast checker → · Palette generator →

#791A7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva