#79247F#79247F

#79247F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.161 H 325.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#79247F
RGBrgb(121, 36, 127)
HSLhsl(296, 56%, 32%)
HSVhsv(296, 72%, 50%)
CMYKcmyk(4.7%, 71.7%, 0%, 50.2%)
CIE-LABlab(31.49, 48.54, -33.22)
CIE-LCHlch(31.49, 58.82, 325.62°)
OKLaboklab(43.04% 0.1324 -0.0923)
OKLCHoklch(43.04% 0.161 325.1)
XYZxyz(12.3465, 6.8598, 20.7483)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79247F #2A7F24
analogous
#4C247F #79247F #7F2458
triadic
#79247F #7F7924 #247F79
tetradic
#79247F #7F4C24 #2A7F24 #24587F
square
#79247F #7F4C24 #2A7F24 #24587F
split-complementary
#79247F #587F24 #247F4C
monochromatic
#1E0920 #4C164F #79247F #A632AF #C550CD

Accessibility & contrast

On white

8.85
#79247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#79247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79247F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79247F#FFFFFF#000000##FFFFFF
##79247F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4382
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#7C334F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79247f;
/* rgb */ color: rgb(121, 36, 127);
/* oklch */ color: oklch(43.0% 0.161 325.1);
Tailwind
colors: {
  custom: {
    50: '#a367a4',
    500: '#79247f',
    950: '#000000',
  },
}
SCSS
$custom: #79247f;
$custom-light: #a367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79247f",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 296.044,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43039,
    "c": 0.16138,
    "h": 325.1
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#79247F
secondary
#54B14E
accent
#DF4953
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79247F

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

Preview Lab → · Contrast checker → · Palette generator →

#79247F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva