#772F83#772F83

#772F83 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.149 H 321.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#772F83
RGBrgb(119, 47, 131)
HSLhsl(291, 47%, 35%)
HSVhsv(291, 64%, 51%)
CMYKcmyk(9.2%, 64.1%, 0%, 48.6%)
CIE-LABlab(33.12, 44.02, -33.13)
CIE-LCHlch(33.12, 55.09, 323.03°)
OKLaboklab(44.23% 0.1168 -0.0922)
OKLCHoklch(44.23% 0.149 321.7)
XYZxyz(12.7206, 7.5943, 22.2641)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772F83 #3B832F
analogous
#4D2F83 #772F83 #832F65
triadic
#772F83 #83772F #2F8377
tetradic
#772F83 #834D2F #3B832F #2F6583
square
#772F83 #834D2F #3B832F #2F6583
split-complementary
#772F83 #65832F #2F834D
monochromatic
#250F29 #4E1F56 #772F83 #A03FB0 #BA65C8

Accessibility & contrast

On white

8.34
#772F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#772F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772F83
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772F83#FFFFFF#000000##FFFFFF
##772F831.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#783C54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #772f83;
/* rgb */ color: rgb(119, 47, 131);
/* oklch */ color: oklch(44.2% 0.149 321.7);
Tailwind
colors: {
  custom: {
    50: '#a16da7',
    500: '#772f83',
    950: '#000000',
  },
}
SCSS
$custom: #772f83;
$custom-light: #a16da7;
$custom-dark: #000000;
JSON
{
  "hex": "#772f83",
  "rgb": {
    "r": 119,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 291.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.14882,
    "h": 321.7
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#772F83
secondary
#6BAF5F
accent
#D75164
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #772F83

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

Preview Lab → · Contrast checker → · Palette generator →

#772F83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva