#792571#792571

#792571 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 331.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#792571
RGBrgb(121, 37, 113)
HSLhsl(306, 53%, 31%)
HSVhsv(306, 69%, 47%)
CMYKcmyk(0%, 69.4%, 6.6%, 52.5%)
CIE-LABlab(30.83, 45.63, -25.41)
CIE-LCHlch(30.83, 52.22, 330.89°)
OKLaboklab(42.31% 0.1306 -0.0697)
OKLCHoklch(42.31% 0.148 331.9)
XYZxyz(11.5274, 6.5812, 16.2828)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792571 #25792D
analogous
#572579 #792571 #792547
triadic
#792571 #717925 #257179
tetradic
#792571 #795725 #25792D #254779
square
#792571 #795725 #25792D #254779
split-complementary
#792571 #477925 #257957
monochromatic
#1B0819 #4A1745 #792571 #A8339D #C94FBE

Accessibility & contrast

On white

9.07
#792571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#792571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792571
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792571#FFFFFF#000000##FFFFFF
##7925711.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#7E2D47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792571;
/* rgb */ color: rgb(121, 37, 113);
/* oklch */ color: oklch(42.3% 0.148 331.9);
Tailwind
colors: {
  custom: {
    50: '#a3679a',
    500: '#792571',
    950: '#000000',
  },
}
SCSS
$custom: #792571;
$custom-light: #a3679a;
$custom-dark: #000000;
JSON
{
  "hex": "#792571",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 305.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.14809,
    "h": 331.9
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#792571
secondary
#4EAB57
accent
#DD594B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792571

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

Preview Lab → · Contrast checker → · Palette generator →

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