#791081#791081

#791081 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.183 H 324.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#791081
RGBrgb(121, 16, 129)
HSLhsl(296, 78%, 28%)
HSVhsv(296, 88%, 51%)
CMYKcmyk(6.2%, 87.6%, 0%, 49.4%)
CIE-LABlab(29.47, 55.09, -37.70)
CIE-LCHlch(29.47, 66.75, 325.61°)
OKLaboklab(41.64% 0.1493 -0.1053)
OKLCHoklch(41.64% 0.183 324.8)
XYZxyz(12.0326, 6.0213, 21.2931)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791081 #188110
analogous
#401081 #791081 #811050
triadic
#791081 #817910 #108179
tetradic
#791081 #814010 #188110 #105081
square
#791081 #814010 #188110 #105081
split-complementary
#791081 #508110 #108140
monochromatic
#1A031B #46094B #791081 #AC17B7 #D727E4

Accessibility & contrast

On white

9.53
#791081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791081
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791081#FFFFFF#000000##FFFFFF
##7910811.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#2B497F
Tritanopia (blue-blind)
#7C294B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791081;
/* rgb */ color: rgb(121, 16, 129);
/* oklch */ color: oklch(41.6% 0.183 324.8);
Tailwind
colors: {
  custom: {
    50: '#a460a6',
    500: '#791081',
    950: '#000000',
  },
}
SCSS
$custom: #791081;
$custom-light: #a460a6;
$custom-dark: #000000;
JSON
{
  "hex": "#791081",
  "rgb": {
    "r": 121,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 295.752,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41644,
    "c": 0.18268,
    "h": 324.8
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#791081
secondary
#3FB736
accent
#F43341
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #791081

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

Preview Lab → · Contrast checker → · Palette generator →

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