#792188#792188

#792188 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.173 H 321.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#792188
RGBrgb(121, 33, 136)
HSLhsl(291, 61%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11%, 75.7%, 0%, 46.7%)
CIE-LABlab(31.65, 51.39, -38.57)
CIE-LCHlch(31.65, 64.25, 323.11°)
OKLaboklab(43.34% 0.1351 -0.1079)
OKLCHoklch(43.34% 0.173 321.4)
XYZxyz(12.8725, 6.9309, 23.9476)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792188 #308821
analogous
#452188 #792188 #882163
triadic
#792188 #887921 #218879
tetradic
#792188 #884521 #308821 #216388
square
#792188 #884521 #308821 #216388
split-complementary
#792188 #638821 #218845
monochromatic
#210925 #4D1557 #792188 #A52DB9 #C14FD4

Accessibility & contrast

On white

8.80
#792188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#792188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792188
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792188#FFFFFF#000000##FFFFFF
##7921881.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#7A3553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #792188;
/* rgb */ color: rgb(121, 33, 136);
/* oklch */ color: oklch(43.3% 0.173 321.4);
Tailwind
colors: {
  custom: {
    50: '#a366ab',
    500: '#792188',
    950: '#000000',
  },
}
SCSS
$custom: #792188;
$custom-light: #a366ab;
$custom-dark: #000000;
JSON
{
  "hex": "#792188",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 291.262,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.1729,
    "h": 321.4
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#792188
secondary
#5DB84D
accent
#E4445B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792188

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

Preview Lab → · Contrast checker → · Palette generator →

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