#79287C#79287C

#79287C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.153 H 326.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#79287C
RGBrgb(121, 40, 124)
HSLhsl(298, 51%, 32%)
HSVhsv(298, 68%, 49%)
CMYKcmyk(2.4%, 67.7%, 0%, 51.4%)
CIE-LABlab(31.89, 46.34, -30.69)
CIE-LCHlch(31.89, 55.58, 326.49°)
OKLaboklab(43.28% 0.1277 -0.085)
OKLCHoklch(43.28% 0.153 326.4)
XYZxyz(12.2818, 7.0386, 19.7766)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79287C #2B7C28
analogous
#4F287C #79287C #7C2855
triadic
#79287C #7C7928 #287C79
tetradic
#79287C #7C4F28 #2B7C28 #28557C
square
#79287C #7C4F28 #2B7C28 #28557C
split-complementary
#79287C #557C28 #287C4F
monochromatic
#1F0A1F #4C194E #79287C #A637AA #C456C8

Accessibility & contrast

On white

8.72
#79287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#79287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79287C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79287C#FFFFFF#000000##FFFFFF
##79287C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#3A4F7A
Tritanopia (blue-blind)
#7C344E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79287c;
/* rgb */ color: rgb(121, 40, 124);
/* oklch */ color: oklch(43.3% 0.153 326.4);
Tailwind
colors: {
  custom: {
    50: '#a269a2',
    500: '#79287c',
    950: '#000000',
  },
}
SCSS
$custom: #79287c;
$custom-light: #a269a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79287c",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 297.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.15344,
    "h": 326.4
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#79287C
secondary
#56AD52
accent
#DB4D52
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79287C

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

Preview Lab → · Contrast checker → · Palette generator →

#79287C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva