#792F81#792F81

#792F81 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.4% C 0.148 H 323.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#792F81
RGBrgb(121, 47, 129)
HSLhsl(294, 47%, 35%)
HSVhsv(294, 64%, 51%)
CMYKcmyk(6.2%, 63.6%, 0%, 49.4%)
CIE-LABlab(33.32, 44.15, -31.56)
CIE-LCHlch(33.32, 54.27, 324.44°)
OKLaboklab(44.4% 0.1192 -0.0876)
OKLCHoklch(44.4% 0.148 323.7)
XYZxyz(12.8638, 7.6837, 21.5701)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F81 #37812F
analogous
#502F81 #792F81 #812F60
triadic
#792F81 #81792F #2F8179
tetradic
#792F81 #81502F #37812F #2F6081
square
#792F81 #81502F #37812F #2F6081
split-complementary
#792F81 #60812F #2F8150
monochromatic
#250E27 #4F1F54 #792F81 #A33FAE #BD64C6

Accessibility & contrast

On white

8.28
#792F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F81
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F81#FFFFFF#000000##FFFFFF
##792F811.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4983
Deuteranopia (green-blind)
#3C517F
Tritanopia (blue-blind)
#7B3B53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792f81;
/* rgb */ color: rgb(121, 47, 129);
/* oklch */ color: oklch(44.4% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#a26da6',
    500: '#792f81',
    950: '#000000',
  },
}
SCSS
$custom: #792f81;
$custom-light: #a26da6;
$custom-dark: #000000;
JSON
{
  "hex": "#792f81",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 294.146,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.14794,
    "h": 323.7
  },
  "luminance": 0.07683
}

Semantic roles & 50–950 ramp

primary
#792F81
secondary
#66AD5E
accent
#D6525F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F81

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

Preview Lab → · Contrast checker → · Palette generator →

#792F81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva