#772283#772283

#772283 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.166 H 322.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#772283
RGBrgb(119, 34, 131)
HSLhsl(293, 59%, 32%)
HSVhsv(293, 74%, 51%)
CMYKcmyk(9.2%, 74%, 0%, 48.6%)
CIE-LABlab(31.13, 49.61, -36.31)
CIE-LCHlch(31.13, 61.48, 323.80°)
OKLaboklab(42.8% 0.1319 -0.1014)
OKLCHoklch(42.8% 0.166 322.5)
XYZxyz(12.2761, 6.7054, 22.1160)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772283 #2E8322
analogous
#462283 #772283 #83225F
triadic
#772283 #837722 #228377
tetradic
#772283 #834622 #2E8322 #225F83
square
#772283 #834622 #2E8322 #225F83
split-complementary
#772283 #5F8322 #228346
monochromatic
#1F0922 #4B1552 #772283 #A32FB4 #C14ED1

Accessibility & contrast

On white

8.97
#772283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#772283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772283
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772283#FFFFFF#000000##FFFFFF
##7722831.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#304C81
Tritanopia (blue-blind)
#793450
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #772283;
/* rgb */ color: rgb(119, 34, 131);
/* oklch */ color: oklch(42.8% 0.166 322.5);
Tailwind
colors: {
  custom: {
    50: '#a166a7',
    500: '#772283',
    950: '#000000',
  },
}
SCSS
$custom: #772283;
$custom-light: #a166a7;
$custom-dark: #000000;
JSON
{
  "hex": "#772283",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 292.577,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.16641,
    "h": 322.5
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#772283
secondary
#59B44C
accent
#E24659
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #772283

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

Preview Lab → · Contrast checker → · Palette generator →

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