#77238C#77238C

#77238C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.173 H 318.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#77238C
RGBrgb(119, 35, 140)
HSLhsl(288, 60%, 34%)
HSVhsv(288, 75%, 55%)
CMYKcmyk(15%, 75%, 0%, 45.1%)
CIE-LABlab(31.85, 50.99, -40.75)
CIE-LCHlch(31.85, 65.27, 321.37°)
OKLaboklab(43.5% 0.1302 -0.1144)
OKLCHoklch(43.5% 0.173 318.7)
XYZxyz(12.9418, 7.0181, 25.4788)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77238C #388C23
analogous
#43238C #77238C #8C236D
triadic
#77238C #8C7723 #238C77
tetradic
#77238C #8C4323 #388C23 #236D8C
square
#77238C #8C4323 #388C23 #236D8C
split-complementary
#77238C #6D8C23 #238C43
monochromatic
#240B2A #4D175B #77238C #A12FBD #BB55D4

Accessibility & contrast

On white

8.74
#77238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77238C
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77238C#FFFFFF#000000##FFFFFF
##77238C1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#773856
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77238c;
/* rgb */ color: rgb(119, 35, 140);
/* oklch */ color: oklch(43.5% 0.173 318.7);
Tailwind
colors: {
  custom: {
    50: '#a267ae',
    500: '#77238c',
    950: '#000000',
  },
}
SCSS
$custom: #77238c;
$custom-light: #a267ae;
$custom-dark: #000000;
JSON
{
  "hex": "#77238c",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 288,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.17334,
    "h": 318.7
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#77238C
secondary
#67B852
accent
#E34564
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77238C

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

Preview Lab → · Contrast checker → · Palette generator →

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