#77237A#77237A

#77237A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.157 H 326.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#77237A
RGBrgb(119, 35, 122)
HSLhsl(298, 55%, 31%)
HSVhsv(298, 71%, 48%)
CMYKcmyk(2.5%, 71.3%, 0%, 52.2%)
CIE-LABlab(30.71, 47.53, -31.33)
CIE-LCHlch(30.71, 56.93, 326.61°)
OKLaboklab(42.32% 0.1311 -0.0869)
OKLCHoklch(42.32% 0.157 326.5)
XYZxyz(11.7214, 6.5299, 19.0516)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77237A #267A23
analogous
#4B237A #77237A #7A2351
triadic
#77237A #7A7723 #237A77
tetradic
#77237A #7A4B23 #267A23 #23517A
square
#77237A #7A4B23 #267A23 #23517A
split-complementary
#77237A #517A23 #237A4B
monochromatic
#1A081B #49154A #77237A #A531AA #C74CCC

Accessibility & contrast

On white

9.11
#77237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#77237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77237A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77237A#FFFFFF#000000##FFFFFF
##77237A1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12417C
Deuteranopia (green-blind)
#374C78
Tritanopia (blue-blind)
#7A304C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77237a;
/* rgb */ color: rgb(119, 35, 122);
/* oklch */ color: oklch(42.3% 0.157 326.5);
Tailwind
colors: {
  custom: {
    50: '#a166a1',
    500: '#77237a',
    950: '#000000',
  },
}
SCSS
$custom: #77237a;
$custom-light: #a166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77237a",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 297.931,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.15726,
    "h": 326.5
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#77237A
secondary
#4FAD4C
accent
#DF494E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #77237A

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

Preview Lab → · Contrast checker → · Palette generator →

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