#792190#792190

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

Color values

HEX#792190
RGBrgb(121, 33, 144)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 77%, 56%)
CMYKcmyk(16%, 77.1%, 0%, 43.5%)
CIE-LABlab(32.18, 52.95, -42.66)
CIE-LCHlch(32.18, 67.99, 321.14°)
OKLaboklab(43.89% 0.1342 -0.1199)
OKLCHoklch(43.89% 0.18 318.2)
XYZxyz(13.4624, 7.1669, 27.0544)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792190 #389021
analogous
#422190 #792190 #90216F
triadic
#792190 #907921 #219079
tetradic
#792190 #904221 #389021 #216F90
square
#792190 #904221 #389021 #216F90
split-complementary
#792190 #6F9021 #219042
monochromatic
#250A2C #4F165E #792190 #A32CC2 #BC54D8

Accessibility & contrast

On white

8.63
#792190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792190
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792190#FFFFFF#000000##FFFFFF
##7921901.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#783957
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792190;
/* rgb */ color: rgb(121, 33, 144);
/* oklch */ color: oklch(43.9% 0.180 318.2);
Tailwind
colors: {
  custom: {
    50: '#a367b1',
    500: '#792190',
    950: '#000000',
  },
}
SCSS
$custom: #792190;
$custom-light: #a367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#792190",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 287.568,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.18,
    "h": 318.2
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#792190
secondary
#67BB51
accent
#E64264
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792190

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

Preview Lab → · Contrast checker → · Palette generator →

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