#793087#793087

#793087 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.152 H 320.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#793087
RGBrgb(121, 48, 135)
HSLhsl(290, 48%, 36%)
HSVhsv(290, 64%, 53%)
CMYKcmyk(10.4%, 64.4%, 0%, 47.1%)
CIE-LABlab(33.83, 44.88, -34.46)
CIE-LCHlch(33.83, 56.58, 322.48°)
OKLaboklab(44.89% 0.1181 -0.0961)
OKLCHoklch(44.89% 0.152 320.9)
XYZxyz(13.3148, 7.9288, 23.7460)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793087 #3E8730
analogous
#4D3087 #793087 #873069
triadic
#793087 #877930 #308779
tetradic
#793087 #874D30 #3E8730 #306987
square
#793087 #874D30 #3E8730 #306987
split-complementary
#793087 #698730 #30874D
monochromatic
#28102D #51205A #793087 #A140B4 #BA68C9

Accessibility & contrast

On white

8.12
#793087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#793087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793087
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793087#FFFFFF#000000##FFFFFF
##7930871.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#395285
Tritanopia (blue-blind)
#7A3E57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #793087;
/* rgb */ color: rgb(121, 48, 135);
/* oklch */ color: oklch(44.9% 0.152 320.9);
Tailwind
colors: {
  custom: {
    50: '#a26eaa',
    500: '#793087',
    950: '#000000',
  },
}
SCSS
$custom: #793087;
$custom-light: #a26eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#793087",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 290.345,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.15226,
    "h": 320.9
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#793087
secondary
#6FB162
accent
#D75166
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #793087

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

Preview Lab → · Contrast checker → · Palette generator →

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