#793170#793170

#793170 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.129 H 332.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#793170
RGBrgb(121, 49, 112)
HSLhsl(308, 42%, 33%)
HSVhsv(308, 60%, 47%)
CMYKcmyk(0%, 59.5%, 7.4%, 52.5%)
CIE-LABlab(32.77, 39.97, -21.74)
CIE-LCHlch(32.77, 45.50, 331.45°)
OKLaboklab(43.71% 0.1146 -0.0593)
OKLCHoklch(43.71% 0.129 332.6)
XYZxyz(11.9081, 7.4323, 16.1335)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793170 #31793A
analogous
#5E3179 #793170 #79314C
triadic
#793170 #707931 #317079
tetradic
#793170 #795E31 #31793A #314C79
square
#793170 #795E31 #31793A #314C79
split-complementary
#793170 #4C7931 #31795E
monochromatic
#220E1F #4D1F48 #793170 #A54398 #C064B5

Accessibility & contrast

On white

8.45
#793170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#793170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793170
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793170#FFFFFF#000000##FFFFFF
##7931701.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4672
Deuteranopia (green-blind)
#45516E
Tritanopia (blue-blind)
#7E364C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #793170;
/* rgb */ color: rgb(121, 49, 112);
/* oklch */ color: oklch(43.7% 0.129 332.6);
Tailwind
colors: {
  custom: {
    50: '#a26d99',
    500: '#793170',
    950: '#000000',
  },
}
SCSS
$custom: #793170;
$custom-light: #a26d99;
$custom-dark: #000000;
JSON
{
  "hex": "#793170",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 307.5,
    "s": 42.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43708,
    "c": 0.12908,
    "h": 332.6
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#793170
secondary
#5EA867
accent
#D26556
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #793170

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

Preview Lab → · Contrast checker → · Palette generator →

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