#791B85#791B85

#791B85 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.177 H 322.9°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#791B85
RGBrgb(121, 27, 133)
HSLhsl(293, 66%, 31%)
HSVhsv(293, 80%, 52%)
CMYKcmyk(9%, 79.7%, 0%, 47.8%)
CIE-LABlab(30.74, 52.86, -38.16)
CIE-LCHlch(30.74, 65.19, 324.18°)
OKLaboklab(42.63% 0.1408 -0.1067)
OKLCHoklch(42.63% 0.177 322.9)
XYZxyz(12.5103, 6.5430, 22.7897)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B85 #27851B
analogous
#441B85 #791B85 #851B5C
triadic
#791B85 #85791B #1B8579
tetradic
#791B85 #85441B #27851B #1B5C85
square
#791B85 #85441B #27851B #1B5C85
split-complementary
#791B85 #5C851B #1B8544
monochromatic
#1C061F #4B1152 #791B85 #A725B8 #C842D9

Accessibility & contrast

On white

9.10
#791B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#791B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B85
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B85#FFFFFF#000000##FFFFFF
##791B851.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#7B3050
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791b85;
/* rgb */ color: rgb(121, 27, 133);
/* oklch */ color: oklch(42.6% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#a364a9',
    500: '#791b85',
    950: '#000000',
  },
}
SCSS
$custom: #791b85;
$custom-light: #a364a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791b85",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 293.208,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.17667,
    "h": 322.9
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#791B85
secondary
#51B844
accent
#E93F52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791B85

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

Preview Lab → · Contrast checker → · Palette generator →

#791B85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva