#792288#792288

#792288 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.172 H 321.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#792288
RGBrgb(121, 34, 136)
HSLhsl(291, 60%, 33%)
HSVhsv(291, 75%, 53%)
CMYKcmyk(11%, 75%, 0%, 46.7%)
CIE-LABlab(31.78, 51.02, -38.36)
CIE-LCHlch(31.78, 63.83, 323.06°)
OKLaboklab(43.43% 0.1341 -0.1073)
OKLCHoklch(43.43% 0.172 321.3)
XYZxyz(12.9006, 6.9873, 23.9569)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792288 #318822
analogous
#462288 #792288 #882264
triadic
#792288 #887922 #228879
tetradic
#792288 #884622 #318822 #226488
square
#792288 #884622 #318822 #226488
split-complementary
#792288 #648822 #228846
monochromatic
#220A26 #4D1657 #792288 #A52EB9 #C051D3

Accessibility & contrast

On white

8.76
#792288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#792288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792288
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792288#FFFFFF#000000##FFFFFF
##7922881.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#7A3553
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792288;
/* rgb */ color: rgb(121, 34, 136);
/* oklch */ color: oklch(43.4% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#a367ab',
    500: '#792288',
    950: '#000000',
  },
}
SCSS
$custom: #792288;
$custom-light: #a367ab;
$custom-dark: #000000;
JSON
{
  "hex": "#792288",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 291.176,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43428,
    "c": 0.17176,
    "h": 321.3
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#792288
secondary
#5EB74F
accent
#E3455C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #792288

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

Preview Lab → · Contrast checker → · Palette generator →

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