#772287#772287

#772287 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.170 H 320.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#772287
RGBrgb(119, 34, 135)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(11.9%, 74.8%, 0%, 47.1%)
CIE-LABlab(31.38, 50.38, -38.39)
CIE-LCHlch(31.38, 63.34, 322.69°)
OKLaboklab(43.06% 0.1317 -0.1075)
OKLCHoklch(43.06% 0.17 320.8)
XYZxyz(12.5524, 6.8159, 23.5714)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772287 #328722
analogous
#442287 #772287 #872264
triadic
#772287 #877722 #228777
tetradic
#772287 #874422 #328722 #226487
square
#772287 #874422 #328722 #226487
split-complementary
#772287 #648722 #228744
monochromatic
#210925 #4C1656 #772287 #A22EB8 #BE50D3

Accessibility & contrast

On white

8.89
#772287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#772287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772287
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772287#FFFFFF#000000##FFFFFF
##7722871.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#783553
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772287;
/* rgb */ color: rgb(119, 34, 135);
/* oklch */ color: oklch(43.1% 0.170 320.8);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#772287',
    950: '#000000',
  },
}
SCSS
$custom: #772287;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772287",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 290.495,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.16999,
    "h": 320.8
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#772287
secondary
#5FB74E
accent
#E3455E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772287

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

Preview Lab → · Contrast checker → · Palette generator →

#772287 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva