#822277#822277

#822277 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.162 H 333.1°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#822277
RGBrgb(130, 34, 119)
HSLhsl(307, 59%, 32%)
HSVhsv(307, 74%, 51%)
CMYKcmyk(0%, 73.8%, 8.5%, 49%)
CIE-LABlab(32.31, 50.10, -26.78)
CIE-LCHlch(32.31, 56.81, 331.87°)
OKLaboklab(43.78% 0.1445 -0.0735)
OKLCHoklch(43.78% 0.162 333.1)
XYZxyz(13.1078, 7.2229, 18.1530)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822277 #22822D
analogous
#5D2282 #822277 #822247
triadic
#822277 #778222 #227782
tetradic
#822277 #825D22 #22822D #224782
square
#822277 #825D22 #22822D #224782
split-complementary
#822277 #478222 #22825D
monochromatic
#21091E #51154B #822277 #B32FA3 #D14EC2

Accessibility & contrast

On white

8.59
#822277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#822277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822277
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822277#FFFFFF#000000##FFFFFF
##8222771.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#425175
Tritanopia (blue-blind)
#882B4A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822277;
/* rgb */ color: rgb(130, 34, 119);
/* oklch */ color: oklch(43.8% 0.162 333.1);
Tailwind
colors: {
  custom: {
    50: '#a9679e',
    500: '#822277',
    950: '#000000',
  },
}
SCSS
$custom: #822277;
$custom-light: #a9679e;
$custom-dark: #000000;
JSON
{
  "hex": "#822277",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 306.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43784,
    "c": 0.16214,
    "h": 333.1
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#822277
secondary
#4CB458
accent
#E25846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822277

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

Preview Lab → · Contrast checker → · Palette generator →

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