#77256F#77256F

#77256F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 332.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#77256F
RGBrgb(119, 37, 111)
HSLhsl(306, 53%, 31%)
HSVhsv(306, 69%, 47%)
CMYKcmyk(0%, 68.9%, 6.7%, 53.3%)
CIE-LABlab(30.38, 44.75, -24.87)
CIE-LCHlch(30.38, 51.19, 330.94°)
OKLaboklab(41.88% 0.1282 -0.0682)
OKLCHoklch(41.88% 0.145 332)
XYZxyz(11.1386, 6.3936, 15.6833)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77256F #25772D
analogous
#562577 #77256F #772546
triadic
#77256F #6F7725 #256F77
tetradic
#77256F #775625 #25772D #254677
square
#77256F #775625 #25772D #254677
split-complementary
#77256F #467725 #257756
monochromatic
#1A0818 #481643 #77256F #A6349B #C84EBC

Accessibility & contrast

On white

9.22
#77256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#77256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77256F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77256F#FFFFFF#000000##FFFFFF
##77256F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214071
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#7C2D46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77256f;
/* rgb */ color: rgb(119, 37, 111);
/* oklch */ color: oklch(41.9% 0.145 332.0);
Tailwind
colors: {
  custom: {
    50: '#a16798',
    500: '#77256f',
    950: '#000000',
  },
}
SCSS
$custom: #77256f;
$custom-light: #a16798;
$custom-dark: #000000;
JSON
{
  "hex": "#77256f",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 305.854,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.14519,
    "h": 332
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#77256F
secondary
#4EA957
accent
#DC5A4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #77256F

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

Preview Lab → · Contrast checker → · Palette generator →

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