#772286#772286

#772286 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.169 H 321.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#772286
RGBrgb(119, 34, 134)
HSLhsl(291, 60%, 33%)
HSVhsv(291, 75%, 53%)
CMYKcmyk(11.2%, 74.6%, 0%, 47.5%)
CIE-LABlab(31.32, 50.19, -37.87)
CIE-LCHlch(31.32, 62.88, 322.96°)
OKLaboklab(43% 0.1318 -0.106)
OKLCHoklch(43% 0.169 321.2)
XYZxyz(12.4824, 6.7879, 23.2023)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772286 #318622
analogous
#452286 #772286 #862263
triadic
#772286 #867722 #228677
tetradic
#772286 #864522 #318622 #226386
square
#772286 #864522 #318622 #226386
split-complementary
#772286 #638622 #228645
monochromatic
#200924 #4C1655 #772286 #A22EB7 #BF50D3

Accessibility & contrast

On white

8.91
#772286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772286
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772286#FFFFFF#000000##FFFFFF
##7722861.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#783552
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772286;
/* rgb */ color: rgb(119, 34, 134);
/* oklch */ color: oklch(43.0% 0.169 321.2);
Tailwind
colors: {
  custom: {
    50: '#a266aa',
    500: '#772286',
    950: '#000000',
  },
}
SCSS
$custom: #772286;
$custom-light: #a266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#772286",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 291,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.16909,
    "h": 321.2
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#772286
secondary
#5DB64E
accent
#E3455D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772286

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

Preview Lab → · Contrast checker → · Palette generator →

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