#791689#791689

#791689 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.6% C 0.185 H 321.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#791689
RGBrgb(121, 22, 137)
HSLhsl(292, 72%, 31%)
HSVhsv(292, 84%, 54%)
CMYKcmyk(11.7%, 83.9%, 0%, 46.3%)
CIE-LABlab(30.51, 55.06, -41.02)
CIE-LCHlch(30.51, 68.66, 323.31°)
OKLaboklab(42.55% 0.1443 -0.115)
OKLCHoklch(42.55% 0.185 321.4)
XYZxyz(12.6869, 6.4456, 24.2379)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791689 #268916
analogous
#3F1689 #791689 #89165F
triadic
#791689 #897916 #168979
tetradic
#791689 #893F16 #268916 #165F89
square
#791689 #893F16 #268916 #165F89
split-complementary
#791689 #5F8916 #16893F
monochromatic
#1C0520 #4A0E54 #791689 #A81EBE #C83ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791689#FFFFFF#000000##FFFFFF
##7916891.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)
#00418C
Deuteranopia (green-blind)
#274B87
Tritanopia (blue-blind)
#7A3051
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791689;
/* rgb */ color: rgb(121, 22, 137);
/* oklch */ color: oklch(42.6% 0.185 321.4);
Tailwind
colors: {
  custom: {
    50: '#a462ac',
    500: '#791689',
    950: '#000000',
  },
}
SCSS
$custom: #791689;
$custom-light: #a462ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791689",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 291.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.18453,
    "h": 321.4
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#791689
secondary
#50BD3E
accent
#EF3952
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791689

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

Preview Lab → · Contrast checker → · Palette generator →

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