#77237B#77237B

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

Color values

HEX#77237B
RGBrgb(119, 35, 123)
HSLhsl(297, 56%, 31%)
HSVhsv(297, 72%, 48%)
CMYKcmyk(3.3%, 71.5%, 0%, 51.8%)
CIE-LABlab(30.77, 47.72, -31.86)
CIE-LCHlch(30.77, 57.38, 326.27°)
OKLaboklab(42.38% 0.1311 -0.0884)
OKLCHoklch(42.38% 0.158 326)
XYZxyz(11.7837, 6.5548, 19.3796)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77237B #277B23
analogous
#4B237B #77237B #7B2353
triadic
#77237B #7B7723 #237B77
tetradic
#77237B #7B4B23 #277B23 #23537B
square
#77237B #7B4B23 #277B23 #23537B
split-complementary
#77237B #537B23 #237B4B
monochromatic
#1B081C #49154B #77237B #A531AB #C64CCC

Accessibility & contrast

On white

9.09
#77237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77237B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77237B#FFFFFF#000000##FFFFFF
##77237B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#364C79
Tritanopia (blue-blind)
#7A314C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77237b;
/* rgb */ color: rgb(119, 35, 123);
/* oklch */ color: oklch(42.4% 0.158 326.0);
Tailwind
colors: {
  custom: {
    50: '#a166a1',
    500: '#77237b',
    950: '#000000',
  },
}
SCSS
$custom: #77237b;
$custom-light: #a166a1;
$custom-dark: #000000;
JSON
{
  "hex": "#77237b",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 297.273,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42383,
    "c": 0.15812,
    "h": 326
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#77237B
secondary
#51AE4C
accent
#DF4950
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77237B

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

Preview Lab → · Contrast checker → · Palette generator →

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