#792A8A#792A8A

#792A8A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.164 H 320.0°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#792A8A
RGBrgb(121, 42, 138)
HSLhsl(289, 53%, 35%)
HSVhsv(289, 70%, 54%)
CMYKcmyk(12.3%, 69.6%, 0%, 45.9%)
CIE-LABlab(33.04, 48.20, -37.58)
CIE-LCHlch(33.04, 61.12, 322.05°)
OKLaboklab(44.37% 0.1254 -0.1051)
OKLCHoklch(44.37% 0.164 320)
XYZxyz(13.3000, 7.5565, 24.7978)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A8A #3B8A2A
analogous
#492A8A #792A8A #8A2A6B
triadic
#792A8A #8A792A #2A8A79
tetradic
#792A8A #8A492A #3B8A2A #2A6B8A
square
#792A8A #8A492A #3B8A2A #2A6B8A
split-complementary
#792A8A #6B8A2A #2A8A49
monochromatic
#270D2C #501C5B #792A8A #A238B9 #BB60CF

Accessibility & contrast

On white

8.36
#792A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A8A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A8A#FFFFFF#000000##FFFFFF
##792A8A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#325088
Tritanopia (blue-blind)
#793B56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792a8a;
/* rgb */ color: rgb(121, 42, 138);
/* oklch */ color: oklch(44.4% 0.164 320.0);
Tailwind
colors: {
  custom: {
    50: '#a36aad',
    500: '#792a8a',
    950: '#000000',
  },
}
SCSS
$custom: #792a8a;
$custom-light: #a36aad;
$custom-dark: #000000;
JSON
{
  "hex": "#792a8a",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 289.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44373,
    "c": 0.16362,
    "h": 320
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#792A8A
secondary
#6BB45B
accent
#DD4B65
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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