#77256C#77256C

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

Color values

HEX#77256C
RGBrgb(119, 37, 108)
HSLhsl(308, 53%, 31%)
HSVhsv(308, 69%, 47%)
CMYKcmyk(0%, 68.9%, 9.2%, 53.3%)
CIE-LABlab(30.23, 44.23, -23.20)
CIE-LCHlch(30.23, 49.94, 332.33°)
OKLaboklab(41.72% 0.1278 -0.0634)
OKLCHoklch(41.72% 0.143 333.6)
XYZxyz(10.9761, 6.3287, 14.8279)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77256C #257730
analogous
#592577 #77256C #772543
triadic
#77256C #6C7725 #256C77
tetradic
#77256C #775925 #257730 #254377
square
#77256C #775925 #257730 #254377
split-complementary
#77256C #437725 #257759
monochromatic
#1A0817 #481642 #77256C #A63496 #C84EB8

Accessibility & contrast

On white

9.27
#77256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#77256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77256C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77256C#FFFFFF#000000##FFFFFF
##77256C1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406E
Deuteranopia (green-blind)
#3F4B6A
Tritanopia (blue-blind)
#7D2C45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #77256c;
/* rgb */ color: rgb(119, 37, 108);
/* oklch */ color: oklch(41.7% 0.143 333.6);
Tailwind
colors: {
  custom: {
    50: '#a16796',
    500: '#77256c',
    950: '#000000',
  },
}
SCSS
$custom: #77256c;
$custom-light: #a16796;
$custom-dark: #000000;
JSON
{
  "hex": "#77256c",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 308.049,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.14271,
    "h": 333.6
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#77256C
secondary
#4EA95B
accent
#DC5F4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #77256C

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

Preview Lab → · Contrast checker → · Palette generator →

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