#792F7D#792F7D

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

Color values

HEX#792F7D
RGBrgb(121, 47, 125)
HSLhsl(297, 45%, 34%)
HSVhsv(297, 62%, 49%)
CMYKcmyk(3.2%, 62.4%, 0%, 51%)
CIE-LABlab(33.09, 43.37, -29.42)
CIE-LCHlch(33.09, 52.41, 325.85°)
OKLaboklab(44.16% 0.119 -0.0814)
OKLCHoklch(44.16% 0.144 325.6)
XYZxyz(12.6031, 7.5794, 20.1972)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F7D #337D2F
analogous
#522F7D #792F7D #7D2F5A
triadic
#792F7D #7D792F #2F7D79
tetradic
#792F7D #7D522F #337D2F #2F5A7D
square
#792F7D #7D522F #337D2F #2F5A7D
split-complementary
#792F7D #5A7D2F #2F7D52
monochromatic
#230E24 #4E1E51 #792F7D #A440A9 #BF62C4

Accessibility & contrast

On white

8.35
#792F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F7D
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F7D#FFFFFF#000000##FFFFFF
##792F7D1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#3E517B
Tritanopia (blue-blind)
#7C3A51
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792f7d;
/* rgb */ color: rgb(121, 47, 125);
/* oklch */ color: oklch(44.2% 0.144 325.6);
Tailwind
colors: {
  custom: {
    50: '#a26da3',
    500: '#792f7d',
    950: '#000000',
  },
}
SCSS
$custom: #792f7d;
$custom-light: #a26da3;
$custom-dark: #000000;
JSON
{
  "hex": "#792f7d",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 296.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44161,
    "c": 0.14414,
    "h": 325.6
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#792F7D
secondary
#61AB5D
accent
#D55359
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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