#791681#791681

#791681 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.178 H 324.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#791681
RGBrgb(121, 22, 129)
HSLhsl(296, 71%, 30%)
HSVhsv(296, 83%, 51%)
CMYKcmyk(6.2%, 82.9%, 0%, 49.4%)
CIE-LABlab(29.97, 53.61, -36.89)
CIE-LCHlch(29.97, 65.07, 325.47°)
OKLaboklab(42% 0.1452 -0.1029)
OKLCHoklch(42% 0.178 324.7)
XYZxyz(12.1342, 6.2246, 21.3270)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791681 #1E8116
analogous
#441681 #791681 #811654
triadic
#791681 #817916 #168179
tetradic
#791681 #814416 #1E8116 #165481
square
#791681 #814416 #1E8116 #165481
split-complementary
#791681 #548116 #168144
monochromatic
#19041A #480D4D #791681 #AA1FB5 #D035DD

Accessibility & contrast

On white

9.35
#791681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#791681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791681
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791681#FFFFFF#000000##FFFFFF
##7916811.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2E4A7F
Tritanopia (blue-blind)
#7C2C4C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791681;
/* rgb */ color: rgb(121, 22, 129);
/* oklch */ color: oklch(42.0% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#a362a6',
    500: '#791681',
    950: '#000000',
  },
}
SCSS
$custom: #791681;
$custom-light: #a362a6;
$custom-dark: #000000;
JSON
{
  "hex": "#791681",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 295.514,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.17802,
    "h": 324.7
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#791681
secondary
#46B63D
accent
#EE3A48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791681

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

Preview Lab → · Contrast checker → · Palette generator →

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