#792290#792290

#792290 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.179 H 318.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#792290
RGBrgb(121, 34, 144)
HSLhsl(287, 62%, 35%)
HSVhsv(287, 76%, 56%)
CMYKcmyk(16%, 76.4%, 0%, 43.5%)
CIE-LABlab(32.31, 52.58, -42.46)
CIE-LCHlch(32.31, 67.58, 321.08°)
OKLaboklab(43.98% 0.1333 -0.1193)
OKLCHoklch(43.98% 0.179 318.2)
XYZxyz(13.4905, 7.2232, 27.0638)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792290 #399022
analogous
#422290 #792290 #902270
triadic
#792290 #907922 #229079
tetradic
#792290 #904222 #399022 #227090
square
#792290 #904222 #399022 #227090
split-complementary
#792290 #709022 #229042
monochromatic
#260B2D #4F165E #792290 #A32EC2 #BC55D7

Accessibility & contrast

On white

8.59
#792290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792290
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792290#FFFFFF#000000##FFFFFF
##7922901.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#783958
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792290;
/* rgb */ color: rgb(121, 34, 144);
/* oklch */ color: oklch(44.0% 0.179 318.2);
Tailwind
colors: {
  custom: {
    50: '#a367b1',
    500: '#792290',
    950: '#000000',
  },
}
SCSS
$custom: #792290;
$custom-light: #a367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#792290",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 287.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43976,
    "c": 0.17891,
    "h": 318.2
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#792290
secondary
#69BB53
accent
#E54365
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792290

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

Preview Lab → · Contrast checker → · Palette generator →

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