#79267E#79267E

#79267E is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.158 H 325.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#79267E
RGBrgb(121, 38, 126)
HSLhsl(297, 54%, 32%)
HSVhsv(297, 70%, 49%)
CMYKcmyk(4%, 69.8%, 0%, 50.6%)
CIE-LABlab(31.71, 47.55, -32.23)
CIE-LCHlch(31.71, 57.45, 325.87°)
OKLaboklab(43.18% 0.1301 -0.0895)
OKLCHoklch(43.18% 0.158 325.5)
XYZxyz(12.3439, 6.9583, 20.4275)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79267E #2B7E26
analogous
#4D267E #79267E #7E2657
triadic
#79267E #7E7926 #267E79
tetradic
#79267E #7E4D26 #2B7E26 #26577E
square
#79267E #7E4D26 #2B7E26 #26577E
split-complementary
#79267E #577E26 #267E4D
monochromatic
#1F0A20 #4C184F #79267E #A634AD #C453CB

Accessibility & contrast

On white

8.78
#79267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#79267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79267E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79267E#FFFFFF#000000##FFFFFF
##79267E1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144481
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#7C344F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79267e;
/* rgb */ color: rgb(121, 38, 126);
/* oklch */ color: oklch(43.2% 0.158 325.5);
Tailwind
colors: {
  custom: {
    50: '#a368a4',
    500: '#79267e',
    950: '#000000',
  },
}
SCSS
$custom: #79267e;
$custom-light: #a368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79267e",
  "rgb": {
    "r": 121,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 296.591,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.15791,
    "h": 325.5
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#79267E
secondary
#56B050
accent
#DD4B53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #79267E

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

Preview Lab → · Contrast checker → · Palette generator →

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