#821671#821671

#821671 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.170 H 335.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#821671
RGBrgb(130, 22, 113)
HSLhsl(309, 71%, 30%)
HSVhsv(309, 83%, 51%)
CMYKcmyk(0%, 83.1%, 13.1%, 49%)
CIE-LABlab(30.67, 52.92, -25.55)
CIE-LCHlch(30.67, 58.77, 334.23°)
OKLaboklab(42.5% 0.1553 -0.0698)
OKLCHoklch(42.5% 0.17 335.8)
XYZxyz(12.4737, 6.5131, 16.2198)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821671 #168227
analogous
#5D1682 #821671 #82163B
triadic
#821671 #718216 #167182
tetradic
#821671 #825D16 #168227 #163B82
square
#821671 #825D16 #168227 #163B82
split-complementary
#821671 #3B8216 #16825D
monochromatic
#1A0417 #4E0D44 #821671 #B61F9E #DD35C3

Accessibility & contrast

On white

9.12
#821671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#821671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821671
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821671#FFFFFF#000000##FFFFFF
##8216711.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#892043
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821671;
/* rgb */ color: rgb(130, 22, 113);
/* oklch */ color: oklch(42.5% 0.170 335.8);
Tailwind
colors: {
  custom: {
    50: '#aa629a',
    500: '#821671',
    950: '#000000',
  },
}
SCSS
$custom: #821671;
$custom-light: #aa629a;
$custom-dark: #000000;
JSON
{
  "hex": "#821671",
  "rgb": {
    "r": 130,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 309.444,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42503,
    "c": 0.17023,
    "h": 335.8
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#821671
secondary
#3DB750
accent
#EE563A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821671

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

Preview Lab → · Contrast checker → · Palette generator →

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