#791671#791671

#791671 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.165 H 331.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#791671
RGBrgb(121, 22, 113)
HSLhsl(305, 69%, 28%)
HSVhsv(305, 82%, 47%)
CMYKcmyk(0%, 81.8%, 6.6%, 52.5%)
CIE-LABlab(28.98, 50.89, -28.33)
CIE-LCHlch(28.98, 58.24, 330.90°)
OKLaboklab(40.98% 0.1459 -0.078)
OKLCHoklch(40.98% 0.165 331.9)
XYZxyz(11.1527, 5.8320, 16.1579)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791671 #16791E
analogous
#4F1679 #791671 #791640
triadic
#791671 #717916 #167179
tetradic
#791671 #794F16 #16791E #164079
square
#791671 #794F16 #16791E #164079
split-complementary
#791671 #407916 #16794F
monochromatic
#1A0518 #450D41 #791671 #AD1FA1 #D930CC

Accessibility & contrast

On white

9.69
#791671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#791671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791671
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791671#FFFFFF#000000##FFFFFF
##7916711.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C73
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#7E2343
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791671;
/* rgb */ color: rgb(121, 22, 113);
/* oklch */ color: oklch(41.0% 0.165 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3619a',
    500: '#791671',
    950: '#000000',
  },
}
SCSS
$custom: #791671;
$custom-light: #a3619a;
$custom-dark: #000000;
JSON
{
  "hex": "#791671",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 304.848,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.16547,
    "h": 331.9
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#791671
secondary
#3DAE46
accent
#EC4A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791671

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

Preview Lab → · Contrast checker → · Palette generator →

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