#793071#793071

#793071 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.6% C 0.132 H 332.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#793071
RGBrgb(121, 48, 113)
HSLhsl(307, 43%, 33%)
HSVhsv(307, 60%, 47%)
CMYKcmyk(0%, 60.3%, 6.6%, 52.5%)
CIE-LABlab(32.64, 40.64, -22.58)
CIE-LCHlch(32.64, 46.49, 330.94°)
OKLaboklab(43.63% 0.1162 -0.0617)
OKLCHoklch(43.63% 0.132 332)
XYZxyz(11.9227, 7.3719, 16.4145)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793071 #307938
analogous
#5C3079 #793071 #79304C
triadic
#793071 #717930 #307179
tetradic
#793071 #795C30 #307938 #304C79
square
#793071 #795C30 #307938 #304C79
split-complementary
#793071 #4C7930 #30795C
monochromatic
#210D1F #4D1F48 #793071 #A5419A #C162B7

Accessibility & contrast

On white

8.49
#793071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#793071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793071
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793071#FFFFFF#000000##FFFFFF
##7930711.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#44516F
Tritanopia (blue-blind)
#7E364C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #793071;
/* rgb */ color: rgb(121, 48, 113);
/* oklch */ color: oklch(43.6% 0.132 332.0);
Tailwind
colors: {
  custom: {
    50: '#a26d9a',
    500: '#793071',
    950: '#000000',
  },
}
SCSS
$custom: #793071;
$custom-light: #a26d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#793071",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 306.575,
    "s": 43.195,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.13159,
    "h": 332
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#793071
secondary
#5DA865
accent
#D36355
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #793071

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

Preview Lab → · Contrast checker → · Palette generator →

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