#791381#791381

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

Color values

HEX#791381
RGBrgb(121, 19, 129)
HSLhsl(296, 74%, 29%)
HSVhsv(296, 85%, 51%)
CMYKcmyk(6.2%, 85.3%, 0%, 49.4%)
CIE-LABlab(29.70, 54.39, -37.32)
CIE-LCHlch(29.70, 65.96, 325.55°)
OKLaboklab(41.81% 0.1474 -0.1042)
OKLCHoklch(41.81% 0.18 324.7)
XYZxyz(12.0802, 6.1165, 21.3090)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791381 #1B8113
analogous
#421381 #791381 #811352
triadic
#791381 #817913 #138179
tetradic
#791381 #814213 #1B8113 #135281
square
#791381 #814213 #1B8113 #135281
split-complementary
#791381 #528113 #138142
monochromatic
#19041B #470B4C #791381 #AB1BB6 #D32EE0

Accessibility & contrast

On white

9.45
#791381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#791381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791381
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791381#FFFFFF#000000##FFFFFF
##7913811.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791381;
/* rgb */ color: rgb(121, 19, 129);
/* oklch */ color: oklch(41.8% 0.180 324.7);
Tailwind
colors: {
  custom: {
    50: '#a361a6',
    500: '#791381',
    950: '#000000',
  },
}
SCSS
$custom: #791381;
$custom-light: #a361a6;
$custom-dark: #000000;
JSON
{
  "hex": "#791381",
  "rgb": {
    "r": 121,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 295.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.18048,
    "h": 324.7
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#791381
secondary
#43B63A
accent
#F13744
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791381

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

Preview Lab → · Contrast checker → · Palette generator →

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