#77238B#77238B

#77238B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.172 H 319.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#77238B
RGBrgb(119, 35, 139)
HSLhsl(288, 60%, 34%)
HSVhsv(288, 75%, 55%)
CMYKcmyk(14.4%, 74.8%, 0%, 45.5%)
CIE-LABlab(31.78, 50.79, -40.24)
CIE-LCHlch(31.78, 64.80, 321.61°)
OKLaboklab(43.43% 0.1303 -0.1129)
OKLCHoklch(43.43% 0.172 319.1)
XYZxyz(12.8684, 6.9887, 25.0922)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77238B #378B23
analogous
#43238B #77238B #8B236B
triadic
#77238B #8B7723 #238B77
tetradic
#77238B #8B4323 #378B23 #236B8B
square
#77238B #8B4323 #378B23 #236B8B
split-complementary
#77238B #6B8B23 #238B43
monochromatic
#230A29 #4D175A #77238B #A12FBC #BB54D4

Accessibility & contrast

On white

8.76
#77238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#77238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77238B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77238B#FFFFFF#000000##FFFFFF
##77238B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2A4E89
Tritanopia (blue-blind)
#773855
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77238b;
/* rgb */ color: rgb(119, 35, 139);
/* oklch */ color: oklch(43.4% 0.172 319.1);
Tailwind
colors: {
  custom: {
    50: '#a267ad',
    500: '#77238b',
    950: '#000000',
  },
}
SCSS
$custom: #77238b;
$custom-light: #a267ad;
$custom-dark: #000000;
JSON
{
  "hex": "#77238b",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 288.462,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.17243,
    "h": 319.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#77238B
secondary
#65B852
accent
#E34563
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77238B

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

Preview Lab → · Contrast checker → · Palette generator →

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