#79287D#79287D

#79287D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.154 H 325.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#79287D
RGBrgb(121, 40, 125)
HSLhsl(297, 52%, 32%)
HSVhsv(297, 68%, 49%)
CMYKcmyk(3.2%, 68%, 0%, 51%)
CIE-LABlab(31.95, 46.53, -31.22)
CIE-LCHlch(31.95, 56.03, 326.13°)
OKLaboklab(43.34% 0.1278 -0.0866)
OKLCHoklch(43.34% 0.154 325.9)
XYZxyz(12.3454, 7.0640, 20.1113)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79287D #2C7D28
analogous
#4E287D #79287D #7D2857
triadic
#79287D #7D7928 #287D79
tetradic
#79287D #7D4E28 #2C7D28 #28577D
square
#79287D #7D4E28 #2C7D28 #28577D
split-complementary
#79287D #577D28 #287D4E
monochromatic
#1F0A20 #4C194F #79287D #A637AB #C456C9

Accessibility & contrast

On white

8.70
#79287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79287D
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79287D#FFFFFF#000000##FFFFFF
##79287D1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#7C354F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79287d;
/* rgb */ color: rgb(121, 40, 125);
/* oklch */ color: oklch(43.3% 0.154 325.9);
Tailwind
colors: {
  custom: {
    50: '#a269a3',
    500: '#79287d',
    950: '#000000',
  },
}
SCSS
$custom: #79287d;
$custom-light: #a269a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79287d",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 297.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.15433,
    "h": 325.9
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#79287D
secondary
#57AE53
accent
#DB4D54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79287D

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

Preview Lab → · Contrast checker → · Palette generator →

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