#792F7F#792F7F

#792F7F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.146 H 324.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#792F7F
RGBrgb(121, 47, 127)
HSLhsl(296, 46%, 34%)
HSVhsv(296, 63%, 50%)
CMYKcmyk(4.7%, 63%, 0%, 50.2%)
CIE-LABlab(33.20, 43.75, -30.50)
CIE-LCHlch(33.20, 53.33, 325.12°)
OKLaboklab(44.28% 0.1191 -0.0845)
OKLCHoklch(44.28% 0.146 324.6)
XYZxyz(12.7321, 7.6310, 20.8769)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F7F #357F2F
analogous
#512F7F #792F7F #7F2F5D
triadic
#792F7F #7F792F #2F7F79
tetradic
#792F7F #7F512F #357F2F #2F5D7F
square
#792F7F #7F512F #357F2F #2F5D7F
split-complementary
#792F7F #5D7F2F #2F7F51
monochromatic
#240E26 #4E1E52 #792F7F #A440AC #BE63C5

Accessibility & contrast

On white

8.31
#792F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F7F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F7F#FFFFFF#000000##FFFFFF
##792F7F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792f7f;
/* rgb */ color: rgb(121, 47, 127);
/* oklch */ color: oklch(44.3% 0.146 324.6);
Tailwind
colors: {
  custom: {
    50: '#a26da4',
    500: '#792f7f',
    950: '#000000',
  },
}
SCSS
$custom: #792f7f;
$custom-light: #a26da4;
$custom-dark: #000000;
JSON
{
  "hex": "#792f7f",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 295.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44278,
    "c": 0.14603,
    "h": 324.6
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#792F7F
secondary
#63AC5E
accent
#D6525C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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