#791985#791985

#791985 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.179 H 322.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#791985
RGBrgb(121, 25, 133)
HSLhsl(293, 68%, 31%)
HSVhsv(293, 81%, 52%)
CMYKcmyk(9%, 81.2%, 0%, 47.8%)
CIE-LABlab(30.53, 53.47, -38.50)
CIE-LCHlch(30.53, 65.89, 324.25°)
OKLaboklab(42.48% 0.1425 -0.1077)
OKLCHoklch(42.48% 0.179 322.9)
XYZxyz(12.4660, 6.4544, 22.7750)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791985 #258519
analogous
#431985 #791985 #85195B
triadic
#791985 #857919 #198579
tetradic
#791985 #854319 #258519 #195B85
square
#791985 #854319 #258519 #195B85
split-complementary
#791985 #5B8519 #198543
monochromatic
#1B061E #4A0F51 #791985 #A823B9 #C93EDB

Accessibility & contrast

On white

9.17
#791985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#791985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791985
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791985#FFFFFF#000000##FFFFFF
##7919851.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2C4B83
Tritanopia (blue-blind)
#7B2F4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791985;
/* rgb */ color: rgb(121, 25, 133);
/* oklch */ color: oklch(42.5% 0.179 322.9);
Tailwind
colors: {
  custom: {
    50: '#a363a9',
    500: '#791985',
    950: '#000000',
  },
}
SCSS
$custom: #791985;
$custom-light: #a363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791985",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 293.333,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.1786,
    "h": 322.9
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#791985
secondary
#4EB941
accent
#EB3D50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791985

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

Preview Lab → · Contrast checker → · Palette generator →

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