#792473#792473

#792473 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 330.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#792473
RGBrgb(121, 36, 115)
HSLhsl(304, 54%, 31%)
HSVhsv(304, 70%, 47%)
CMYKcmyk(0%, 70.2%, 5%, 52.5%)
CIE-LABlab(30.80, 46.38, -26.74)
CIE-LCHlch(30.80, 53.54, 330.03°)
OKLaboklab(42.32% 0.132 -0.0736)
OKLCHoklch(42.32% 0.151 330.9)
XYZxyz(11.6105, 6.5654, 16.8721)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792473 #24792A
analogous
#542479 #792473 #792448
triadic
#792473 #737924 #247379
tetradic
#792473 #795424 #24792A #244879
square
#792473 #795424 #24792A #244879
split-complementary
#792473 #487924 #247954
monochromatic
#1B0819 #4A1646 #792473 #A832A0 #CA4DC1

Accessibility & contrast

On white

9.08
#792473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#792473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792473
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792473#FFFFFF#000000##FFFFFF
##7924731.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4175
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#7E2D48
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #792473;
/* rgb */ color: rgb(121, 36, 115);
/* oklch */ color: oklch(42.3% 0.151 330.9);
Tailwind
colors: {
  custom: {
    50: '#a3679b',
    500: '#792473',
    950: '#000000',
  },
}
SCSS
$custom: #792473;
$custom-light: #a3679b;
$custom-dark: #000000;
JSON
{
  "hex": "#792473",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 304.235,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.1511,
    "h": 330.9
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#792473
secondary
#4DAC54
accent
#DE554A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792473

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

Preview Lab → · Contrast checker → · Palette generator →

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