#792982#792982

#792982 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.158 H 323.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#792982
RGBrgb(121, 41, 130)
HSLhsl(294, 52%, 34%)
HSVhsv(294, 68%, 51%)
CMYKcmyk(6.9%, 68.5%, 0%, 49%)
CIE-LABlab(32.40, 47.05, -33.64)
CIE-LCHlch(32.40, 57.84, 324.43°)
OKLaboklab(43.75% 0.1267 -0.0936)
OKLCHoklch(43.75% 0.158 323.5)
XYZxyz(12.7070, 7.2633, 21.8474)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792982 #328229
analogous
#4C2982 #792982 #82295E
triadic
#792982 #827929 #298279
tetradic
#792982 #824C29 #328229 #295E82
square
#792982 #824C29 #328229 #295E82
split-complementary
#792982 #5E8229 #29824C
monochromatic
#220C25 #4E1A53 #792982 #A438B1 #C05ACB

Accessibility & contrast

On white

8.56
#792982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792982
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792982#FFFFFF#000000##FFFFFF
##7929821.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134685
Deuteranopia (green-blind)
#374F80
Tritanopia (blue-blind)
#7B3752
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792982;
/* rgb */ color: rgb(121, 41, 130);
/* oklch */ color: oklch(43.8% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#a36aa7',
    500: '#792982',
    950: '#000000',
  },
}
SCSS
$custom: #792982;
$custom-light: #a36aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#792982",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 130
  },
  "hsl": {
    "h": 293.933,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43753,
    "c": 0.1575,
    "h": 323.5
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#792982
secondary
#5FB056
accent
#DB4C5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792982

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

Preview Lab → · Contrast checker → · Palette generator →

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