#792081#792081

#792081 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.168 H 324.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#792081
RGBrgb(121, 32, 129)
HSLhsl(295, 60%, 32%)
HSVhsv(295, 75%, 51%)
CMYKcmyk(6.2%, 75.2%, 0%, 49.4%)
CIE-LABlab(31.08, 50.43, -35.12)
CIE-LCHlch(31.08, 61.46, 325.14°)
OKLaboklab(42.79% 0.1365 -0.0979)
OKLCHoklch(42.79% 0.168 324.4)
XYZxyz(12.3638, 6.6837, 21.4035)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792081 #288120
analogous
#492081 #792081 #812059
triadic
#792081 #817920 #208179
tetradic
#792081 #814920 #288120 #205981
square
#792081 #814920 #288120 #205981
split-complementary
#792081 #598120 #208149
monochromatic
#1D081F #4B1450 #792081 #A72CB2 #C749D2

Accessibility & contrast

On white

8.99
#792081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#792081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792081
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792081#FFFFFF#000000##FFFFFF
##7920811.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792081;
/* rgb */ color: rgb(121, 32, 129);
/* oklch */ color: oklch(42.8% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#a365a6',
    500: '#792081',
    950: '#000000',
  },
}
SCSS
$custom: #792081;
$custom-light: #a365a6;
$custom-dark: #000000;
JSON
{
  "hex": "#792081",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 295.052,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.16794,
    "h": 324.4
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#792081
secondary
#52B449
accent
#E34452
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #792081

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

Preview Lab → · Contrast checker → · Palette generator →

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