#79287E#79287E

#79287E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.155 H 325.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#79287E
RGBrgb(121, 40, 126)
HSLhsl(297, 52%, 33%)
HSVhsv(297, 68%, 49%)
CMYKcmyk(4%, 68.3%, 0%, 50.6%)
CIE-LABlab(32.01, 46.71, -31.76)
CIE-LCHlch(32.01, 56.49, 325.79°)
OKLaboklab(43.4% 0.1278 -0.0881)
OKLCHoklch(43.4% 0.155 325.4)
XYZxyz(12.4096, 7.0897, 20.4494)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79287E #2D7E28
analogous
#4E287E #79287E #7E2858
triadic
#79287E #7E7928 #287E79
tetradic
#79287E #7E4E28 #2D7E28 #28587E
square
#79287E #7E4E28 #2D7E28 #28587E
split-complementary
#79287E #587E28 #287E4E
monochromatic
#200B21 #4C1950 #79287E #A637AC #C357CA

Accessibility & contrast

On white

8.69
#79287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#79287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79287E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79287E#FFFFFF#000000##FFFFFF
##79287E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174581
Deuteranopia (green-blind)
#394F7C
Tritanopia (blue-blind)
#7C354F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79287e;
/* rgb */ color: rgb(121, 40, 126);
/* oklch */ color: oklch(43.4% 0.155 325.4);
Tailwind
colors: {
  custom: {
    50: '#a369a4',
    500: '#79287e',
    950: '#000000',
  },
}
SCSS
$custom: #79287e;
$custom-light: #a369a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79287e",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 296.512,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43397,
    "c": 0.15523,
    "h": 325.4
  },
  "luminance": 0.07089
}

Semantic roles & 50–950 ramp

primary
#79287E
secondary
#58AF53
accent
#DB4D55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79287E

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

Preview Lab → · Contrast checker → · Palette generator →

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