#79277F#79277F

#79277F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.157 H 325.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#79277F
RGBrgb(121, 39, 127)
HSLhsl(296, 53%, 33%)
HSVhsv(296, 69%, 50%)
CMYKcmyk(4.7%, 69.3%, 0%, 50.2%)
CIE-LABlab(31.92, 47.32, -32.53)
CIE-LCHlch(31.92, 57.43, 325.50°)
OKLaboklab(43.35% 0.129 -0.0904)
OKLCHoklch(43.35% 0.157 325)
XYZxyz(12.4411, 7.0491, 20.7799)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79277F #2D7F27
analogous
#4D277F #79277F #7F2759
triadic
#79277F #7F7927 #277F79
tetradic
#79277F #7F4D27 #2D7F27 #27597F
square
#79277F #7F4D27 #2D7F27 #27597F
split-complementary
#79277F #597F27 #277F4D
monochromatic
#200A21 #4C1950 #79277F #A635AE #C355CB

Accessibility & contrast

On white

8.72
#79277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#79277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79277F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79277F#FFFFFF#000000##FFFFFF
##79277F1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#7C3550
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79277f;
/* rgb */ color: rgb(121, 39, 127);
/* oklch */ color: oklch(43.4% 0.157 325.0);
Tailwind
colors: {
  custom: {
    50: '#a369a4',
    500: '#79277f',
    950: '#000000',
  },
}
SCSS
$custom: #79277f;
$custom-light: #a369a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79277f",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 295.909,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4335,
    "c": 0.15748,
    "h": 325
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#79277F
secondary
#58B052
accent
#DC4B55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79277F

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

Preview Lab → · Contrast checker → · Palette generator →

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