#79267B#79267B

#79267B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 326.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#79267B
RGBrgb(121, 38, 123)
HSLhsl(299, 53%, 32%)
HSVhsv(299, 69%, 48%)
CMYKcmyk(1.6%, 69.1%, 0%, 51.8%)
CIE-LABlab(31.54, 47.00, -30.63)
CIE-LCHlch(31.54, 56.09, 326.91°)
OKLaboklab(43% 0.1301 -0.0848)
OKLCHoklch(43% 0.155 326.9)
XYZxyz(12.1532, 6.8820, 19.4233)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79267B #287B26
analogous
#4F267B #79267B #7B2653
triadic
#79267B #7B7926 #267B79
tetradic
#79267B #7B4F26 #287B26 #26537B
square
#79267B #7B4F26 #287B26 #26537B
split-complementary
#79267B #537B26 #267B4F
monochromatic
#1D091D #4B184C #79267B #A734AA #C752CA

Accessibility & contrast

On white

8.84
#79267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#79267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79267B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79267B#FFFFFF#000000##FFFFFF
##79267B1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#7C324D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79267b;
/* rgb */ color: rgb(121, 38, 123);
/* oklch */ color: oklch(43.0% 0.155 326.9);
Tailwind
colors: {
  custom: {
    50: '#a368a1',
    500: '#79267b',
    950: '#000000',
  },
}
SCSS
$custom: #79267b;
$custom-light: #a368a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79267b",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 298.588,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.15527,
    "h": 326.9
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#79267B
secondary
#52AD50
accent
#DC4C4F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79267B

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

Preview Lab → · Contrast checker → · Palette generator →

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