#792F7E#792F7E

#792F7E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.145 H 325.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#792F7E
RGBrgb(121, 47, 126)
HSLhsl(296, 46%, 34%)
HSVhsv(296, 63%, 49%)
CMYKcmyk(4%, 62.7%, 0%, 50.6%)
CIE-LABlab(33.15, 43.56, -29.96)
CIE-LCHlch(33.15, 52.87, 325.48°)
OKLaboklab(44.22% 0.119 -0.083)
OKLCHoklch(44.22% 0.145 325.1)
XYZxyz(12.6673, 7.6051, 20.5353)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F7E #347E2F
analogous
#522F7E #792F7E #7E2F5C
triadic
#792F7E #7E792F #2F7E79
tetradic
#792F7E #7E522F #347E2F #2F5C7E
square
#792F7E #7E522F #347E2F #2F5C7E
split-complementary
#792F7E #5C7E2F #2F7E52
monochromatic
#230E25 #4E1E51 #792F7E #A440AB #BE63C5

Accessibility & contrast

On white

8.33
#792F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F7E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F7E#FFFFFF#000000##FFFFFF
##792F7E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#3D517C
Tritanopia (blue-blind)
#7C3A52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792f7e;
/* rgb */ color: rgb(121, 47, 126);
/* oklch */ color: oklch(44.2% 0.145 325.1);
Tailwind
colors: {
  custom: {
    50: '#a26da4',
    500: '#792f7e',
    950: '#000000',
  },
}
SCSS
$custom: #792f7e;
$custom-light: #a26da4;
$custom-dark: #000000;
JSON
{
  "hex": "#792f7e",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 296.203,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.14509,
    "h": 325.1
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#792F7E
secondary
#62AC5D
accent
#D5525B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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