#793771#793771

#793771 is a dark, moderate purple. Relative luminance 0.080; OKLCH L 44.6% C 0.120 H 332.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#793771
RGBrgb(121, 55, 113)
HSLhsl(307, 38%, 35%)
HSVhsv(307, 55%, 47%)
CMYKcmyk(0%, 54.5%, 6.6%, 52.5%)
CIE-LABlab(33.96, 37.08, -20.52)
CIE-LCHlch(33.96, 42.38, 331.04°)
OKLaboklab(44.6% 0.1059 -0.0559)
OKLCHoklch(44.6% 0.12 332.2)
XYZxyz(12.2319, 7.9904, 16.5176)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793771 #37793F
analogous
#603779 #793771 #793750
triadic
#793771 #717937 #377179
tetradic
#793771 #796037 #37793F #375079
square
#793771 #796037 #37793F #375079
split-complementary
#793771 #507937 #377960
monochromatic
#251122 #4F244A #793771 #A34A98 #BD6EB3

Accessibility & contrast

On white

8.08
#793771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#793771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793771
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793771#FFFFFF#000000##FFFFFF
##7937711.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#48536F
Tritanopia (blue-blind)
#7E3C4F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #793771;
/* rgb */ color: rgb(121, 55, 113);
/* oklch */ color: oklch(44.6% 0.120 332.2);
Tailwind
colors: {
  custom: {
    50: '#a2719a',
    500: '#793771',
    950: '#000000',
  },
}
SCSS
$custom: #793771;
$custom-light: #a2719a;
$custom-dark: #000000;
JSON
{
  "hex": "#793771",
  "rgb": {
    "r": 121,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 307.273,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44601,
    "c": 0.11979,
    "h": 332.2
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#793771
secondary
#66A66E
accent
#CD685A
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #793771

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

Preview Lab → · Contrast checker → · Palette generator →

#793771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva