#792289#792289

#792289 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.173 H 320.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#792289
RGBrgb(121, 34, 137)
HSLhsl(291, 60%, 34%)
HSVhsv(291, 75%, 54%)
CMYKcmyk(11.7%, 75.2%, 0%, 46.3%)
CIE-LABlab(31.84, 51.21, -38.88)
CIE-LCHlch(31.84, 64.30, 322.79°)
OKLaboklab(43.5% 0.134 -0.1089)
OKLCHoklch(43.5% 0.173 320.9)
XYZxyz(12.9720, 7.0158, 24.3330)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792289 #328922
analogous
#452289 #792289 #892265
triadic
#792289 #897922 #228979
tetradic
#792289 #894522 #328922 #226589
square
#792289 #894522 #328922 #226589
split-complementary
#792289 #658922 #228945
monochromatic
#220A27 #4E1658 #792289 #A42EBA #C051D4

Accessibility & contrast

On white

8.74
#792289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792289
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792289#FFFFFF#000000##FFFFFF
##7922891.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#7A3654
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792289;
/* rgb */ color: rgb(121, 34, 137);
/* oklch */ color: oklch(43.5% 0.173 320.9);
Tailwind
colors: {
  custom: {
    50: '#a367ac',
    500: '#792289',
    950: '#000000',
  },
}
SCSS
$custom: #792289;
$custom-light: #a367ac;
$custom-dark: #000000;
JSON
{
  "hex": "#792289",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 290.68,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.17265,
    "h": 320.9
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#792289
secondary
#5FB84F
accent
#E3445D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792289

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

Preview Lab → · Contrast checker → · Palette generator →

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