#792088#792088

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

Color values

HEX#792088
RGBrgb(121, 32, 136)
HSLhsl(291, 62%, 33%)
HSVhsv(291, 76%, 53%)
CMYKcmyk(11%, 76.5%, 0%, 46.7%)
CIE-LABlab(31.52, 51.74, -38.77)
CIE-LCHlch(31.52, 64.66, 323.16°)
OKLaboklab(43.25% 0.136 -0.1085)
OKLCHoklch(43.25% 0.174 321.4)
XYZxyz(12.8451, 6.8763, 23.9384)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792088 #2F8820
analogous
#452088 #792088 #882063
triadic
#792088 #887920 #208879
tetradic
#792088 #884520 #2F8820 #206388
square
#792088 #884520 #2F8820 #206388
split-complementary
#792088 #638820 #208845
monochromatic
#210925 #4D1456 #792088 #A52CBA #C24DD5

Accessibility & contrast

On white

8.84
#792088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#792088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792088
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792088#FFFFFF#000000##FFFFFF
##7920881.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792088;
/* rgb */ color: rgb(121, 32, 136);
/* oklch */ color: oklch(43.2% 0.174 321.4);
Tailwind
colors: {
  custom: {
    50: '#a366ab',
    500: '#792088',
    950: '#000000',
  },
}
SCSS
$custom: #792088;
$custom-light: #a366ab;
$custom-dark: #000000;
JSON
{
  "hex": "#792088",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 291.346,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.17402,
    "h": 321.4
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#792088
secondary
#5BB84C
accent
#E5435A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #792088

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

Preview Lab → · Contrast checker → · Palette generator →

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