#791670#791670

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

Color values

HEX#791670
RGBrgb(121, 22, 112)
HSLhsl(305, 69%, 28%)
HSVhsv(305, 82%, 47%)
CMYKcmyk(0%, 81.8%, 7.4%, 52.5%)
CIE-LABlab(28.93, 50.72, -27.78)
CIE-LCHlch(28.93, 57.83, 331.29°)
OKLaboklab(40.92% 0.1459 -0.0765)
OKLCHoklch(40.92% 0.165 332.3)
XYZxyz(11.0967, 5.8096, 15.8630)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791670 #16791F
analogous
#511679 #791670 #79163E
triadic
#791670 #707916 #167079
tetradic
#791670 #795116 #16791F #163E79
square
#791670 #795116 #16791F #163E79
split-complementary
#791670 #3E7916 #167951
monochromatic
#1A0518 #450D40 #791670 #AD1FA0 #D930CA

Accessibility & contrast

On white

9.71
#791670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#791670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791670
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791670#FFFFFF#000000##FFFFFF
##7916701.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B72
Deuteranopia (green-blind)
#38496E
Tritanopia (blue-blind)
#7F2243
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #791670;
/* rgb */ color: rgb(121, 22, 112);
/* oklch */ color: oklch(40.9% 0.165 332.3);
Tailwind
colors: {
  custom: {
    50: '#a36199',
    500: '#791670',
    950: '#000000',
  },
}
SCSS
$custom: #791670;
$custom-light: #a36199;
$custom-dark: #000000;
JSON
{
  "hex": "#791670",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 305.455,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.16471,
    "h": 332.3
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#791670
secondary
#3DAE47
accent
#EC4C3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #791670

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

Preview Lab → · Contrast checker → · Palette generator →

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