#791785#791785

#791785 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.180 H 323.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#791785
RGBrgb(121, 23, 133)
HSLhsl(293, 71%, 31%)
HSVhsv(293, 83%, 52%)
CMYKcmyk(9%, 82.7%, 0%, 47.8%)
CIE-LABlab(30.33, 54.05, -38.81)
CIE-LCHlch(30.33, 66.54, 324.32°)
OKLaboklab(42.34% 0.1441 -0.1086)
OKLCHoklch(42.34% 0.18 323)
XYZxyz(12.4248, 6.3720, 22.7612)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791785 #238517
analogous
#421785 #791785 #85175A
triadic
#791785 #857917 #178579
tetradic
#791785 #854217 #238517 #175A85
square
#791785 #854217 #238517 #175A85
split-complementary
#791785 #5A8517 #178542
monochromatic
#1A051D #4A0E51 #791785 #A820B9 #CB3ADD

Accessibility & contrast

On white

9.23
#791785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#791785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791785
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791785#FFFFFF#000000##FFFFFF
##7917851.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#7B2E4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #791785;
/* rgb */ color: rgb(121, 23, 133);
/* oklch */ color: oklch(42.3% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#a362a9',
    500: '#791785',
    950: '#000000',
  },
}
SCSS
$custom: #791785;
$custom-light: #a362a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791785",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 293.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4234,
    "c": 0.18039,
    "h": 323
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#791785
secondary
#4CB93F
accent
#ED3B4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791785

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

Preview Lab → · Contrast checker → · Palette generator →

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