#793571#793571

#793571 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.3% C 0.123 H 332.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#793571
RGBrgb(121, 53, 113)
HSLhsl(307, 39%, 34%)
HSVhsv(307, 56%, 47%)
CMYKcmyk(0%, 56.2%, 6.6%, 52.5%)
CIE-LABlab(33.57, 38.13, -21.13)
CIE-LCHlch(33.57, 43.59, 331.00°)
OKLaboklab(44.31% 0.109 -0.0576)
OKLCHoklch(44.31% 0.123 332.1)
XYZxyz(12.1389, 7.8042, 16.4866)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793571 #35793D
analogous
#5F3579 #793571 #79354F
triadic
#793571 #717935 #357179
tetradic
#793571 #795F35 #35793D #354F79
square
#793571 #795F35 #35793D #354F79
split-complementary
#793571 #4F7935 #35795F
monochromatic
#241022 #4E2249 #793571 #A44899 #BE6AB4

Accessibility & contrast

On white

8.20
#793571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#793571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793571
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793571#FFFFFF#000000##FFFFFF
##7935711.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#7E3A4E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #793571;
/* rgb */ color: rgb(121, 53, 113);
/* oklch */ color: oklch(44.3% 0.123 332.1);
Tailwind
colors: {
  custom: {
    50: '#a2709a',
    500: '#793571',
    950: '#000000',
  },
}
SCSS
$custom: #793571;
$custom-light: #a2709a;
$custom-dark: #000000;
JSON
{
  "hex": "#793571",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 307.059,
    "s": 39.08,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.12325,
    "h": 332.1
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#793571
secondary
#63A66B
accent
#CF6759
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #793571

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

Preview Lab → · Contrast checker → · Palette generator →

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