#793471#793471

#793471 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.2% C 0.125 H 332.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#793471
RGBrgb(121, 52, 113)
HSLhsl(307, 40%, 34%)
HSVhsv(307, 57%, 47%)
CMYKcmyk(0%, 57%, 6.6%, 52.5%)
CIE-LABlab(33.38, 38.64, -21.43)
CIE-LCHlch(33.38, 44.18, 330.99°)
OKLaboklab(44.17% 0.1104 -0.0585)
OKLCHoklch(44.17% 0.125 332.1)
XYZxyz(12.0937, 7.7140, 16.4716)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793471 #34793C
analogous
#5F3479 #793471 #79344F
triadic
#793471 #717934 #347179
tetradic
#793471 #795F34 #34793C #344F79
square
#793471 #795F34 #34793C #344F79
split-complementary
#793471 #4F7934 #34795F
monochromatic
#230F21 #4E2249 #793471 #A44699 #BE69B5

Accessibility & contrast

On white

8.26
#793471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#793471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793471
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793471#FFFFFF#000000##FFFFFF
##7934711.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#7E394D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #793471;
/* rgb */ color: rgb(121, 52, 113);
/* oklch */ color: oklch(44.2% 0.125 332.1);
Tailwind
colors: {
  custom: {
    50: '#a26f9a',
    500: '#793471',
    950: '#000000',
  },
}
SCSS
$custom: #793471;
$custom-light: #a26f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#793471",
  "rgb": {
    "r": 121,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 306.957,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.12495,
    "h": 332.1
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#793471
secondary
#62A76A
accent
#D06658
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #793471

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

Preview Lab → · Contrast checker → · Palette generator →

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