#792A7A#792A7A

#792A7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.149 H 327.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#792A7A
RGBrgb(121, 42, 122)
HSLhsl(299, 49%, 32%)
HSVhsv(299, 66%, 48%)
CMYKcmyk(0.8%, 65.6%, 0%, 52.2%)
CIE-LABlab(32.09, 45.10, -29.12)
CIE-LCHlch(32.09, 53.68, 327.15°)
OKLaboklab(43.38% 0.1252 -0.0805)
OKLCHoklch(43.38% 0.149 327.3)
XYZxyz(12.2258, 7.1268, 19.1402)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A7A #2B7A2A
analogous
#512A7A #792A7A #7A2A53
triadic
#792A7A #7A792A #2A7A79
tetradic
#792A7A #7A512A #2B7A2A #2A537A
square
#792A7A #7A512A #2B7A2A #2A537A
split-complementary
#792A7A #537A2A #2A7A51
monochromatic
#1F0B1F #4C1A4C #792A7A #A63AA8 #C459C6

Accessibility & contrast

On white

8.66
#792A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A7A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A7A#FFFFFF#000000##FFFFFF
##792A7A1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#7D354E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792a7a;
/* rgb */ color: rgb(121, 42, 122);
/* oklch */ color: oklch(43.4% 0.149 327.3);
Tailwind
colors: {
  custom: {
    50: '#a26aa1',
    500: '#792a7a',
    950: '#000000',
  },
}
SCSS
$custom: #792a7a;
$custom-light: #a26aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#792a7a",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 299.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.14882,
    "h": 327.3
  },
  "luminance": 0.07126
}

Semantic roles & 50–950 ramp

primary
#792A7A
secondary
#56AB55
accent
#D84F51
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792A7A

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

Preview Lab → · Contrast checker → · Palette generator →

#792A7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva