#77238E#77238E

#77238E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.175 H 317.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#77238E
RGBrgb(119, 35, 142)
HSLhsl(287, 60%, 35%)
HSVhsv(287, 75%, 56%)
CMYKcmyk(16.2%, 75.4%, 0%, 44.3%)
CIE-LABlab(31.98, 51.39, -41.77)
CIE-LCHlch(31.98, 66.22, 320.90°)
OKLaboklab(43.64% 0.13 -0.1174)
OKLCHoklch(43.64% 0.175 317.9)
XYZxyz(13.0906, 7.0776, 26.2625)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77238E #3A8E23
analogous
#42238E #77238E #8E2370
triadic
#77238E #8E7723 #238E77
tetradic
#77238E #8E4223 #3A8E23 #23708E
square
#77238E #8E4223 #3A8E23 #23708E
split-complementary
#77238E #708E23 #238E42
monochromatic
#250B2C #4E175D #77238E #A02FBF #BA56D5

Accessibility & contrast

On white

8.69
#77238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#77238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77238E
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77238E#FFFFFF#000000##FFFFFF
##77238E1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#763957
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77238e;
/* rgb */ color: rgb(119, 35, 142);
/* oklch */ color: oklch(43.6% 0.175 317.9);
Tailwind
colors: {
  custom: {
    50: '#a267b0',
    500: '#77238e',
    950: '#000000',
  },
}
SCSS
$custom: #77238e;
$custom-light: #a267b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77238e",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 287.103,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.17517,
    "h": 317.9
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#77238E
secondary
#69B953
accent
#E44466
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77238E

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

Preview Lab → · Contrast checker → · Palette generator →

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