#77238D#77238D

#77238D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.174 H 318.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#77238D
RGBrgb(119, 35, 141)
HSLhsl(288, 60%, 35%)
HSVhsv(288, 75%, 55%)
CMYKcmyk(15.6%, 75.2%, 0%, 44.7%)
CIE-LABlab(31.92, 51.19, -41.26)
CIE-LCHlch(31.92, 65.75, 321.13°)
OKLaboklab(43.57% 0.1301 -0.1159)
OKLCHoklch(43.57% 0.174 318.3)
XYZxyz(13.0158, 7.0477, 25.8689)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77238D #398D23
analogous
#42238D #77238D #8D236E
triadic
#77238D #8D7723 #238D77
tetradic
#77238D #8D4223 #398D23 #236E8D
square
#77238D #8D4223 #398D23 #236E8D
split-complementary
#77238D #6E8D23 #238D42
monochromatic
#240B2B #4E175C #77238D #A02FBE #BA55D5

Accessibility & contrast

On white

8.72
#77238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#77238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77238D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77238D#FFFFFF#000000##FFFFFF
##77238D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#763956
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77238d;
/* rgb */ color: rgb(119, 35, 141);
/* oklch */ color: oklch(43.6% 0.174 318.3);
Tailwind
colors: {
  custom: {
    50: '#a267af',
    500: '#77238d',
    950: '#000000',
  },
}
SCSS
$custom: #77238d;
$custom-light: #a267af;
$custom-dark: #000000;
JSON
{
  "hex": "#77238d",
  "rgb": {
    "r": 119,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 287.547,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.17425,
    "h": 318.3
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#77238D
secondary
#68B953
accent
#E34465
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77238D

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

Preview Lab → · Contrast checker → · Palette generator →

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