#77237D#77237D

#77237D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 325.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#77237D
RGBrgb(119, 35, 125)
HSLhsl(296, 56%, 31%)
HSVhsv(296, 72%, 49%)
CMYKcmyk(4.8%, 72%, 0%, 51%)
CIE-LABlab(30.89, 48.09, -32.93)
CIE-LCHlch(30.89, 58.28, 325.60°)
OKLaboklab(42.51% 0.1311 -0.0916)
OKLCHoklch(42.51% 0.16 325.1)
XYZxyz(11.9102, 6.6054, 20.0457)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77237D #297D23
analogous
#4A237D #77237D #7D2356
triadic
#77237D #7D7723 #237D77
tetradic
#77237D #7D4A23 #297D23 #23567D
square
#77237D #7D4A23 #297D23 #23567D
split-complementary
#77237D #567D23 #237D4A
monochromatic
#1C081D #49164D #77237D #A530AD #C54DCD

Accessibility & contrast

On white

9.05
#77237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77237D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77237D#FFFFFF#000000##FFFFFF
##77237D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4280
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#7A324D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #77237d;
/* rgb */ color: rgb(119, 35, 125);
/* oklch */ color: oklch(42.5% 0.160 325.1);
Tailwind
colors: {
  custom: {
    50: '#a166a3',
    500: '#77237d',
    950: '#000000',
  },
}
SCSS
$custom: #77237d;
$custom-light: #a166a3;
$custom-dark: #000000;
JSON
{
  "hex": "#77237d",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 296,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.15988,
    "h": 325.1
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#77237D
secondary
#53AF4C
accent
#E04852
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77237D

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

Preview Lab → · Contrast checker → · Palette generator →

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