#79257D#79257D

#79257D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 326.0°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#79257D
RGBrgb(121, 37, 125)
HSLhsl(297, 54%, 32%)
HSVhsv(297, 70%, 49%)
CMYKcmyk(3.2%, 70.4%, 0%, 51%)
CIE-LABlab(31.51, 47.77, -31.93)
CIE-LCHlch(31.51, 57.46, 326.24°)
OKLaboklab(43.02% 0.1312 -0.0886)
OKLCHoklch(43.02% 0.158 326)
XYZxyz(12.2481, 6.8695, 20.0789)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79257D #297D25
analogous
#4D257D #79257D #7D2555
triadic
#79257D #7D7925 #257D79
tetradic
#79257D #7D4D25 #297D25 #25557D
square
#79257D #7D4D25 #297D25 #25557D
split-complementary
#79257D #557D25 #257D4D
monochromatic
#1E091F #4B174E #79257D #A733AC #C651CB

Accessibility & contrast

On white

8.85
#79257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#79257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79257D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79257D#FFFFFF#000000##FFFFFF
##79257D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134380
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#7C334E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79257d;
/* rgb */ color: rgb(121, 37, 125);
/* oklch */ color: oklch(43.0% 0.158 326.0);
Tailwind
colors: {
  custom: {
    50: '#a368a3',
    500: '#79257d',
    950: '#000000',
  },
}
SCSS
$custom: #79257d;
$custom-light: #a368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79257d",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 297.273,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43016,
    "c": 0.15835,
    "h": 326
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#79257D
secondary
#53AF4F
accent
#DE4A51
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79257D

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

Preview Lab → · Contrast checker → · Palette generator →

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