#792B91#792B91

#792B91 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.169 H 317.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#792B91
RGBrgb(121, 43, 145)
HSLhsl(286, 54%, 37%)
HSVhsv(286, 70%, 57%)
CMYKcmyk(16.6%, 70.3%, 0%, 43.1%)
CIE-LABlab(33.64, 49.19, -40.93)
CIE-LCHlch(33.64, 64.00, 320.24°)
OKLaboklab(44.95% 0.1239 -0.1149)
OKLCHoklch(44.95% 0.169 317.1)
XYZxyz(13.8591, 7.8376, 27.5653)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B91 #43912B
analogous
#462B91 #792B91 #912B76
triadic
#792B91 #91792B #2B9179
tetradic
#792B91 #91462B #43912B #2B7691
square
#792B91 #91462B #43912B #2B7691
split-complementary
#792B91 #76912B #2B9146
monochromatic
#2A0F33 #521D62 #792B91 #A039C0 #B865D1

Accessibility & contrast

On white

8.18
#792B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B91
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B91#FFFFFF#000000##FFFFFF
##792B911.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#2D518F
Tritanopia (blue-blind)
#783F5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792b91;
/* rgb */ color: rgb(121, 43, 145);
/* oklch */ color: oklch(44.9% 0.169 317.1);
Tailwind
colors: {
  custom: {
    50: '#a36bb2',
    500: '#792b91',
    950: '#000000',
  },
}
SCSS
$custom: #792b91;
$custom-light: #a36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792b91",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 285.882,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44947,
    "c": 0.16898,
    "h": 317.1
  },
  "luminance": 0.07837
}

Semantic roles & 50–950 ramp

primary
#792B91
secondary
#75B860
accent
#DE4A6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792B91

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

Preview Lab → · Contrast checker → · Palette generator →

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