#792790#792790

#792790 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 317.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#792790
RGBrgb(121, 39, 144)
HSLhsl(287, 57%, 36%)
HSVhsv(287, 73%, 56%)
CMYKcmyk(16%, 72.9%, 0%, 43.5%)
CIE-LABlab(32.98, 50.66, -41.37)
CIE-LCHlch(32.98, 65.41, 320.76°)
OKLaboklab(44.46% 0.1283 -0.1162)
OKLCHoklch(44.46% 0.173 317.8)
XYZxyz(13.6440, 7.5302, 27.1149)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792790 #3E9027
analogous
#442790 #792790 #902772
triadic
#792790 #907927 #279079
tetradic
#792790 #904427 #3E9027 #277290
square
#792790 #904427 #3E9027 #277290
split-complementary
#792790 #729027 #279044
monochromatic
#280D30 #511A60 #792790 #A134C0 #BA5ED3

Accessibility & contrast

On white

8.38
#792790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792790
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792790#FFFFFF#000000##FFFFFF
##7927901.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#2B508E
Tritanopia (blue-blind)
#783C59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792790;
/* rgb */ color: rgb(121, 39, 144);
/* oklch */ color: oklch(44.5% 0.173 317.8);
Tailwind
colors: {
  custom: {
    50: '#a369b1',
    500: '#792790',
    950: '#000000',
  },
}
SCSS
$custom: #792790;
$custom-light: #a369b1;
$custom-dark: #000000;
JSON
{
  "hex": "#792790",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 286.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.17309,
    "h": 317.8
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#792790
secondary
#6FB95A
accent
#E14769
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792790

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

Preview Lab → · Contrast checker → · Palette generator →

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