#792471#792471

#792471 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.149 H 331.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#792471
RGBrgb(121, 36, 113)
HSLhsl(306, 54%, 31%)
HSVhsv(306, 70%, 47%)
CMYKcmyk(0%, 70.2%, 6.6%, 52.5%)
CIE-LABlab(30.69, 46.03, -25.64)
CIE-LCHlch(30.69, 52.69, 330.88°)
OKLaboklab(42.21% 0.1318 -0.0704)
OKLCHoklch(42.21% 0.149 331.9)
XYZxyz(11.4967, 6.5199, 16.2725)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792471 #24792C
analogous
#562479 #792471 #792446
triadic
#792471 #717924 #247179
tetradic
#792471 #795624 #24792C #244679
square
#792471 #795624 #24792C #244679
split-complementary
#792471 #467924 #247956
monochromatic
#1B0819 #4A1645 #792471 #A8329D #CA4DBE

Accessibility & contrast

On white

9.12
#792471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#792471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792471
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792471#FFFFFF#000000##FFFFFF
##7924711.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4173
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#7E2D47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792471;
/* rgb */ color: rgb(121, 36, 113);
/* oklch */ color: oklch(42.2% 0.149 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3679a',
    500: '#792471',
    950: '#000000',
  },
}
SCSS
$custom: #792471;
$custom-light: #a3679a;
$custom-dark: #000000;
JSON
{
  "hex": "#792471",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 305.647,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.14944,
    "h": 331.9
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#792471
secondary
#4DAC56
accent
#DE584A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792471

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

Preview Lab → · Contrast checker → · Palette generator →

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