#79247A#79247A

#79247A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.157 H 327.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#79247A
RGBrgb(121, 36, 122)
HSLhsl(299, 54%, 31%)
HSVhsv(299, 70%, 48%)
CMYKcmyk(0.8%, 70.5%, 0%, 52.2%)
CIE-LABlab(31.19, 47.63, -30.55)
CIE-LCHlch(31.19, 56.58, 327.33°)
OKLaboklab(42.73% 0.1323 -0.0846)
OKLCHoklch(42.73% 0.157 327.4)
XYZxyz(12.0287, 6.7327, 19.0746)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79247A #257A24
analogous
#4E247A #79247A #7A2450
triadic
#79247A #7A7924 #247A79
tetradic
#79247A #7A4E24 #257A24 #24507A
square
#79247A #7A4E24 #257A24 #24507A
split-complementary
#79247A #507A24 #247A4E
monochromatic
#1B081B #4A164B #79247A #A832A9 #C94ECB

Accessibility & contrast

On white

8.95
#79247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79247A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79247A#FFFFFF#000000##FFFFFF
##79247A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427C
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#7D314C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79247a;
/* rgb */ color: rgb(121, 36, 122);
/* oklch */ color: oklch(42.7% 0.157 327.4);
Tailwind
colors: {
  custom: {
    50: '#a367a1',
    500: '#79247a',
    950: '#000000',
  },
}
SCSS
$custom: #79247a;
$custom-light: #a367a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79247a",
  "rgb": {
    "r": 121,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 299.302,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42731,
    "c": 0.15703,
    "h": 327.4
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#79247A
secondary
#4EAC4D
accent
#DE4A4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #79247A

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

Preview Lab → · Contrast checker → · Palette generator →

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