#77256B#77256B

#77256B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.142 H 334.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#77256B
RGBrgb(119, 37, 107)
HSLhsl(309, 53%, 31%)
HSVhsv(309, 69%, 47%)
CMYKcmyk(0%, 68.9%, 10.1%, 53.3%)
CIE-LABlab(30.18, 44.06, -22.64)
CIE-LCHlch(30.18, 49.54, 332.81°)
OKLaboklab(41.67% 0.1277 -0.0618)
OKLCHoklch(41.67% 0.142 334.2)
XYZxyz(10.9232, 6.3075, 14.5492)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77256B #257731
analogous
#5A2577 #77256B #772542
triadic
#77256B #6B7725 #256B77
tetradic
#77256B #775A25 #257731 #254277
square
#77256B #775A25 #257731 #254277
split-complementary
#77256B #427725 #25775A
monochromatic
#1A0817 #481641 #77256B #A63495 #C84EB6

Accessibility & contrast

On white

9.29
#77256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#77256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77256B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77256B#FFFFFF#000000##FFFFFF
##77256B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#3F4B69
Tritanopia (blue-blind)
#7D2B44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #77256b;
/* rgb */ color: rgb(119, 37, 107);
/* oklch */ color: oklch(41.7% 0.142 334.2);
Tailwind
colors: {
  custom: {
    50: '#a16795',
    500: '#77256b',
    950: '#000000',
  },
}
SCSS
$custom: #77256b;
$custom-light: #a16795;
$custom-dark: #000000;
JSON
{
  "hex": "#77256b",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 308.78,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41665,
    "c": 0.14189,
    "h": 334.2
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#77256B
secondary
#4EA95C
accent
#DC614C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77256B

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

Preview Lab → · Contrast checker → · Palette generator →

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