#77258E#77258E

#77258E is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.173 H 317.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#77258E
RGBrgb(119, 37, 142)
HSLhsl(287, 59%, 35%)
HSVhsv(287, 74%, 56%)
CMYKcmyk(16.2%, 73.9%, 0%, 44.3%)
CIE-LABlab(32.25, 50.61, -41.33)
CIE-LCHlch(32.25, 65.35, 320.77°)
OKLaboklab(43.83% 0.128 -0.1161)
OKLCHoklch(43.83% 0.173 317.8)
XYZxyz(13.1511, 7.1986, 26.2827)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77258E #3C8E25
analogous
#42258E #77258E #8E2571
triadic
#77258E #8E7725 #258E77
tetradic
#77258E #8E4225 #3C8E25 #25718E
square
#77258E #8E4225 #3C8E25 #25718E
split-complementary
#77258E #718E25 #258E42
monochromatic
#260C2D #4E185D #77258E #A032BF #B95AD4

Accessibility & contrast

On white

8.61
#77258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#77258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77258E
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77258E#FFFFFF#000000##FFFFFF
##77258E1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#294E8C
Tritanopia (blue-blind)
#763A57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #77258e;
/* rgb */ color: rgb(119, 37, 142);
/* oklch */ color: oklch(43.8% 0.173 317.8);
Tailwind
colors: {
  custom: {
    50: '#a268b0',
    500: '#77258e',
    950: '#000000',
  },
}
SCSS
$custom: #77258e;
$custom-light: #a268b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77258e",
  "rgb": {
    "r": 119,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 286.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4383,
    "c": 0.17283,
    "h": 317.8
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#77258E
secondary
#6CB956
accent
#E24668
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #77258E

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

Preview Lab → · Contrast checker → · Palette generator →

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