#77237E#77237E

#77237E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.161 H 324.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#77237E
RGBrgb(119, 35, 126)
HSLhsl(295, 57%, 32%)
HSVhsv(295, 72%, 49%)
CMYKcmyk(5.6%, 72.2%, 0%, 50.6%)
CIE-LABlab(30.95, 48.28, -33.46)
CIE-LCHlch(30.95, 58.74, 325.27°)
OKLaboklab(42.57% 0.1311 -0.0931)
OKLCHoklch(42.57% 0.161 324.6)
XYZxyz(11.9744, 6.6311, 20.3838)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77237E #2A7E23
analogous
#4A237E #77237E #7E2358
triadic
#77237E #7E7723 #237E77
tetradic
#77237E #7E4A23 #2A7E23 #23587E
square
#77237E #7E4A23 #2A7E23 #23587E
split-complementary
#77237E #587E23 #237E4A
monochromatic
#1D081E #4A164E #77237E #A430AE #C44ECE

Accessibility & contrast

On white

9.03
#77237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#77237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77237E
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77237E#FFFFFF#000000##FFFFFF
##77237E1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4281
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#7A324E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #77237e;
/* rgb */ color: rgb(119, 35, 126);
/* oklch */ color: oklch(42.6% 0.161 324.6);
Tailwind
colors: {
  custom: {
    50: '#a166a4',
    500: '#77237e',
    950: '#000000',
  },
}
SCSS
$custom: #77237e;
$custom-light: #a166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77237e",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 295.385,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.16075,
    "h": 324.6
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#77237E
secondary
#54B04C
accent
#E04854
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77237E

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

Preview Lab → · Contrast checker → · Palette generator →

#77237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva