#793370#793370

#793370 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.0% C 0.126 H 332.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#793370
RGBrgb(121, 51, 112)
HSLhsl(308, 41%, 34%)
HSVhsv(308, 58%, 47%)
CMYKcmyk(0%, 57.9%, 7.4%, 52.5%)
CIE-LABlab(33.14, 38.97, -21.17)
CIE-LCHlch(33.14, 44.34, 331.49°)
OKLaboklab(43.98% 0.1117 -0.0577)
OKLCHoklch(43.98% 0.126 332.7)
XYZxyz(11.9936, 7.6033, 16.1620)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793370 #33793C
analogous
#5F3379 #793370 #79334D
triadic
#793370 #707933 #337079
tetradic
#793370 #795F33 #33793C #334D79
square
#793370 #795F33 #33793C #334D79
split-complementary
#793370 #4D7933 #33795F
monochromatic
#230F20 #4E2148 #793370 #A44598 #BF67B4

Accessibility & contrast

On white

8.33
#793370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#793370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793370
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793370#FFFFFF#000000##FFFFFF
##7933701.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314872
Deuteranopia (green-blind)
#46526E
Tritanopia (blue-blind)
#7E384C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #793370;
/* rgb */ color: rgb(121, 51, 112);
/* oklch */ color: oklch(44.0% 0.126 332.7);
Tailwind
colors: {
  custom: {
    50: '#a26f99',
    500: '#793370',
    950: '#000000',
  },
}
SCSS
$custom: #793370;
$custom-light: #a26f99;
$custom-dark: #000000;
JSON
{
  "hex": "#793370",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 307.714,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43981,
    "c": 0.12574,
    "h": 332.7
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#793370
secondary
#61A76A
accent
#D16757
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #793370

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

Preview Lab → · Contrast checker → · Palette generator →

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