#79247B#79247B

#79247B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.158 H 326.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#79247B
RGBrgb(121, 36, 123)
HSLhsl(299, 55%, 31%)
HSVhsv(299, 71%, 48%)
CMYKcmyk(1.6%, 70.7%, 0%, 51.8%)
CIE-LABlab(31.25, 47.81, -31.08)
CIE-LCHlch(31.25, 57.02, 326.97°)
OKLaboklab(42.79% 0.1323 -0.0861)
OKLCHoklch(42.79% 0.158 326.9)
XYZxyz(12.0910, 6.7576, 19.4026)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79247B #267B24
analogous
#4D247B #79247B #7B2451
triadic
#79247B #7B7924 #247B79
tetradic
#79247B #7B4D24 #267B24 #24517B
square
#79247B #7B4D24 #267B24 #24517B
split-complementary
#79247B #517B24 #247B4D
monochromatic
#1C081C #4A164C #79247B #A832AA #C84ECB

Accessibility & contrast

On white

8.93
#79247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#79247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79247B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79247B#FFFFFF#000000##FFFFFF
##79247B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437D
Deuteranopia (green-blind)
#394D79
Tritanopia (blue-blind)
#7C314D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79247b;
/* rgb */ color: rgb(121, 36, 123);
/* oklch */ color: oklch(42.8% 0.158 326.9);
Tailwind
colors: {
  custom: {
    50: '#a367a1',
    500: '#79247b',
    950: '#000000',
  },
}
SCSS
$custom: #79247b;
$custom-light: #a367a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79247b",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 298.621,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42792,
    "c": 0.1579,
    "h": 326.9
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#79247B
secondary
#50AD4D
accent
#DE4A4D
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79247B

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

Preview Lab → · Contrast checker → · Palette generator →

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