#792181#792181

#792181 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.167 H 324.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#792181
RGBrgb(121, 33, 129)
HSLhsl(295, 59%, 32%)
HSVhsv(295, 74%, 51%)
CMYKcmyk(6.2%, 74.4%, 0%, 49.4%)
CIE-LABlab(31.20, 50.06, -34.92)
CIE-LCHlch(31.20, 61.04, 325.10°)
OKLaboklab(42.88% 0.1355 -0.0973)
OKLCHoklch(42.88% 0.167 324.3)
XYZxyz(12.3911, 6.7384, 21.4126)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792181 #298121
analogous
#492181 #792181 #812159
triadic
#792181 #817921 #218179
tetradic
#792181 #814921 #298121 #215981
square
#792181 #814921 #298121 #215981
split-complementary
#792181 #598121 #218149
monochromatic
#1E0820 #4B1550 #792181 #A72DB2 #C64BD1

Accessibility & contrast

On white

8.95
#792181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#792181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792181
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792181#FFFFFF#000000##FFFFFF
##7921811.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004384
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#7B324F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792181;
/* rgb */ color: rgb(121, 33, 129);
/* oklch */ color: oklch(42.9% 0.167 324.3);
Tailwind
colors: {
  custom: {
    50: '#a366a6',
    500: '#792181',
    950: '#000000',
  },
}
SCSS
$custom: #792181;
$custom-light: #a366a6;
$custom-dark: #000000;
JSON
{
  "hex": "#792181",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 295,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42876,
    "c": 0.16679,
    "h": 324.3
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#792181
secondary
#53B44A
accent
#E24552
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792181

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

Preview Lab → · Contrast checker → · Palette generator →

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