#77237C#77237C

#77237C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.159 H 325.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#77237C
RGBrgb(119, 35, 124)
HSLhsl(297, 56%, 31%)
HSVhsv(297, 72%, 49%)
CMYKcmyk(4%, 71.8%, 0%, 51.4%)
CIE-LABlab(30.83, 47.90, -32.40)
CIE-LCHlch(30.83, 57.83, 325.93°)
OKLaboklab(42.45% 0.1311 -0.09)
OKLCHoklch(42.45% 0.159 325.5)
XYZxyz(11.8466, 6.5800, 19.7110)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77237C #287C23
analogous
#4A237C #77237C #7C2354
triadic
#77237C #7C7723 #237C77
tetradic
#77237C #7C4A23 #287C23 #23547C
square
#77237C #7C4A23 #287C23 #23547C
split-complementary
#77237C #547C23 #237C4A
monochromatic
#1B081D #49164C #77237C #A530AC #C54DCD

Accessibility & contrast

On white

9.07
#77237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#77237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77237C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77237C#FFFFFF#000000##FFFFFF
##77237C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427F
Deuteranopia (green-blind)
#364C7A
Tritanopia (blue-blind)
#7A314D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #77237c;
/* rgb */ color: rgb(119, 35, 124);
/* oklch */ color: oklch(42.4% 0.159 325.5);
Tailwind
colors: {
  custom: {
    50: '#a166a2',
    500: '#77237c',
    950: '#000000',
  },
}
SCSS
$custom: #77237c;
$custom-light: #a166a2;
$custom-dark: #000000;
JSON
{
  "hex": "#77237c",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 296.629,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.15899,
    "h": 325.5
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#77237C
secondary
#52AF4C
accent
#DF4951
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77237C

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

Preview Lab → · Contrast checker → · Palette generator →

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