#791970#791970

#791970 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.162 H 332.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#791970
RGBrgb(121, 25, 112)
HSLhsl(306, 66%, 29%)
HSVhsv(306, 79%, 47%)
CMYKcmyk(0%, 79.3%, 7.4%, 52.5%)
CIE-LABlab(29.24, 49.83, -27.29)
CIE-LCHlch(29.24, 56.81, 331.29°)
OKLaboklab(41.14% 0.1433 -0.0751)
OKLCHoklch(41.14% 0.162 332.4)
XYZxyz(11.1575, 5.9310, 15.8833)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791970 #197922
analogous
#521979 #791970 #791940
triadic
#791970 #707919 #197079
tetradic
#791970 #795219 #197922 #194079
square
#791970 #795219 #197922 #194079
split-complementary
#791970 #407919 #197952
monochromatic
#190517 #460F41 #791970 #AC239F #D637C7

Accessibility & contrast

On white

9.61
#791970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#791970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791970
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791970#FFFFFF#000000##FFFFFF
##7919701.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#3A4A6E
Tritanopia (blue-blind)
#7E2443
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #791970;
/* rgb */ color: rgb(121, 25, 112);
/* oklch */ color: oklch(41.1% 0.162 332.4);
Tailwind
colors: {
  custom: {
    50: '#a36299',
    500: '#791970',
    950: '#000000',
  },
}
SCSS
$custom: #791970;
$custom-light: #a36299;
$custom-dark: #000000;
JSON
{
  "hex": "#791970",
  "rgb": {
    "r": 121,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 305.625,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.16175,
    "h": 332.4
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#791970
secondary
#40AE4A
accent
#E94F3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #791970

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

Preview Lab → · Contrast checker → · Palette generator →

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