#77257F#77257F

#77257F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.159 H 324.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#77257F
RGBrgb(119, 37, 127)
HSLhsl(295, 55%, 32%)
HSVhsv(295, 71%, 50%)
CMYKcmyk(6.3%, 70.9%, 0%, 50.2%)
CIE-LABlab(31.30, 47.66, -33.54)
CIE-LCHlch(31.30, 58.28, 324.87°)
OKLaboklab(42.84% 0.1288 -0.0933)
OKLCHoklch(42.84% 0.159 324.1)
XYZxyz(12.0998, 6.7781, 20.7455)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77257F #2D7F25
analogous
#4A257F #77257F #7F255A
triadic
#77257F #7F7725 #257F77
tetradic
#77257F #7F4A25 #2D7F25 #255A7F
square
#77257F #7F4A25 #2D7F25 #255A7F
split-complementary
#77257F #5A7F25 #257F4A
monochromatic
#1E0920 #4B1750 #77257F #A333AE #C252CD

Accessibility & contrast

On white

8.92
#77257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#77257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77257F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77257F#FFFFFF#000000##FFFFFF
##77257F1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4382
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#79344F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77257f;
/* rgb */ color: rgb(119, 37, 127);
/* oklch */ color: oklch(42.8% 0.159 324.1);
Tailwind
colors: {
  custom: {
    50: '#a167a4',
    500: '#77257f',
    950: '#000000',
  },
}
SCSS
$custom: #77257f;
$custom-light: #a167a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77257f",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 294.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.1591,
    "h": 324.1
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#77257F
secondary
#58B14F
accent
#DE4A57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77257F

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

Preview Lab → · Contrast checker → · Palette generator →

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