#79257F#79257F

#79257F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.160 H 325.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#79257F
RGBrgb(121, 37, 127)
HSLhsl(296, 55%, 32%)
HSVhsv(296, 71%, 50%)
CMYKcmyk(4.7%, 70.9%, 0%, 50.2%)
CIE-LABlab(31.63, 48.15, -32.99)
CIE-LCHlch(31.63, 58.37, 325.58°)
OKLaboklab(43.14% 0.1313 -0.0917)
OKLCHoklch(43.14% 0.16 325.1)
XYZxyz(12.3772, 6.9212, 20.7586)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79257F #2B7F25
analogous
#4C257F #79257F #7F2558
triadic
#79257F #7F7925 #257F79
tetradic
#79257F #7F4C25 #2B7F25 #25587F
square
#79257F #7F4C25 #2B7F25 #25587F
split-complementary
#79257F #587F25 #257F4C
monochromatic
#1F0920 #4C1750 #79257F #A633AE #C452CD

Accessibility & contrast

On white

8.81
#79257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#79257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79257F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79257F#FFFFFF#000000##FFFFFF
##79257F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#7C334F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79257f;
/* rgb */ color: rgb(121, 37, 127);
/* oklch */ color: oklch(43.1% 0.160 325.1);
Tailwind
colors: {
  custom: {
    50: '#a368a4',
    500: '#79257f',
    950: '#000000',
  },
}
SCSS
$custom: #79257f;
$custom-light: #a368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79257f",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 296,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4314,
    "c": 0.16011,
    "h": 325.1
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#79257F
secondary
#56B14F
accent
#DE4A53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79257F

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

Preview Lab → · Contrast checker → · Palette generator →

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