#79257E#79257E

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

Color values

HEX#79257E
RGBrgb(121, 37, 126)
HSLhsl(297, 55%, 32%)
HSVhsv(297, 71%, 49%)
CMYKcmyk(4%, 70.6%, 0%, 50.6%)
CIE-LABlab(31.57, 47.96, -32.46)
CIE-LCHlch(31.57, 57.91, 325.91°)
OKLaboklab(43.08% 0.1313 -0.0901)
OKLCHoklch(43.08% 0.159 325.5)
XYZxyz(12.3124, 6.8952, 20.4170)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79257E #2A7E25
analogous
#4D257E #79257E #7E2557
triadic
#79257E #7E7925 #257E79
tetradic
#79257E #7E4D25 #2A7E25 #25577E
square
#79257E #7E4D25 #2A7E25 #25577E
split-complementary
#79257E #577E25 #257E4D
monochromatic
#1E091F #4C174F #79257E #A633AD #C551CC

Accessibility & contrast

On white

8.83
#79257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79257E
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79257E#FFFFFF#000000##FFFFFF
##79257E1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124481
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#7C334E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79257e;
/* rgb */ color: rgb(121, 37, 126);
/* oklch */ color: oklch(43.1% 0.159 325.5);
Tailwind
colors: {
  custom: {
    50: '#a368a4',
    500: '#79257e',
    950: '#000000',
  },
}
SCSS
$custom: #79257e;
$custom-light: #a368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79257e",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 296.629,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43078,
    "c": 0.15923,
    "h": 325.5
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#79257E
secondary
#54B04F
accent
#DE4A52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79257E

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

Preview Lab → · Contrast checker → · Palette generator →

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