#822274#822274

#822274 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.160 H 334.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#822274
RGBrgb(130, 34, 116)
HSLhsl(309, 59%, 32%)
HSVhsv(309, 74%, 51%)
CMYKcmyk(0%, 73.8%, 10.8%, 49%)
CIE-LABlab(32.15, 49.61, -25.14)
CIE-LCHlch(32.15, 55.62, 333.13°)
OKLaboklab(43.62% 0.1443 -0.0687)
OKLCHoklch(43.62% 0.16 334.5)
XYZxyz(12.9305, 7.1519, 17.2191)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822274 #228230
analogous
#602282 #822274 #822244
triadic
#822274 #748222 #227482
tetradic
#822274 #826022 #228230 #224482
square
#822274 #826022 #228230 #224482
split-complementary
#822274 #448222 #228260
monochromatic
#21091D #511549 #822274 #B32F9F #D14EBE

Accessibility & contrast

On white

8.64
#822274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#822274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822274
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822274#FFFFFF#000000##FFFFFF
##8222741.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#882A48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822274;
/* rgb */ color: rgb(130, 34, 116);
/* oklch */ color: oklch(43.6% 0.160 334.5);
Tailwind
colors: {
  custom: {
    50: '#aa679c',
    500: '#822274',
    950: '#000000',
  },
}
SCSS
$custom: #822274;
$custom-light: #aa679c;
$custom-dark: #000000;
JSON
{
  "hex": "#822274",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 308.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.15982,
    "h": 334.5
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#822274
secondary
#4CB45B
accent
#E25D46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #822274

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

Preview Lab → · Contrast checker → · Palette generator →

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