#791481#791481

#791481 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.9% C 0.180 H 324.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#791481
RGBrgb(121, 20, 129)
HSLhsl(296, 73%, 29%)
HSVhsv(296, 84%, 51%)
CMYKcmyk(6.2%, 84.5%, 0%, 49.4%)
CIE-LABlab(29.79, 54.14, -37.18)
CIE-LCHlch(29.79, 65.67, 325.52°)
OKLaboklab(41.87% 0.1467 -0.1038)
OKLCHoklch(41.87% 0.18 324.7)
XYZxyz(12.0975, 6.1511, 21.3147)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791481 #1C8114
analogous
#431481 #791481 #811453
triadic
#791481 #817914 #148179
tetradic
#791481 #814314 #1C8114 #145381
square
#791481 #814314 #1C8114 #145381
split-complementary
#791481 #538114 #148143
monochromatic
#19041A #470C4C #791481 #AB1CB6 #D230DF

Accessibility & contrast

On white

9.42
#791481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#791481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791481
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791481#FFFFFF#000000##FFFFFF
##7914811.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#7C2B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #791481;
/* rgb */ color: rgb(121, 20, 129);
/* oklch */ color: oklch(41.9% 0.180 324.7);
Tailwind
colors: {
  custom: {
    50: '#a361a6',
    500: '#791481',
    950: '#000000',
  },
}
SCSS
$custom: #791481;
$custom-light: #a361a6;
$custom-dark: #000000;
JSON
{
  "hex": "#791481",
  "rgb": {
    "r": 121,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 295.596,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.17969,
    "h": 324.7
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#791481
secondary
#44B63B
accent
#F03845
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791481

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

Preview Lab → · Contrast checker → · Palette generator →

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