#821673#821673

#821673 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.172 H 334.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#821673
RGBrgb(130, 22, 115)
HSLhsl(308, 71%, 30%)
HSVhsv(308, 83%, 51%)
CMYKcmyk(0%, 83.1%, 11.5%, 49%)
CIE-LABlab(30.78, 53.22, -26.66)
CIE-LCHlch(30.78, 59.52, 333.40°)
OKLaboklab(42.62% 0.1554 -0.073)
OKLCHoklch(42.62% 0.172 334.8)
XYZxyz(12.5875, 6.5586, 16.8193)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821673 #168225
analogous
#5B1682 #821673 #82163D
triadic
#821673 #738216 #167382
tetradic
#821673 #825B16 #168225 #163D82
square
#821673 #825B16 #168225 #163D82
split-complementary
#821673 #3D8216 #16825B
monochromatic
#1A0417 #4E0D45 #821673 #B61FA1 #DD35C6

Accessibility & contrast

On white

9.09
#821673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#821673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821673
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821673#FFFFFF#000000##FFFFFF
##8216731.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E75
Deuteranopia (green-blind)
#3F4E71
Tritanopia (blue-blind)
#892145
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821673;
/* rgb */ color: rgb(130, 22, 115);
/* oklch */ color: oklch(42.6% 0.172 334.8);
Tailwind
colors: {
  custom: {
    50: '#aa629b',
    500: '#821673',
    950: '#000000',
  },
}
SCSS
$custom: #821673;
$custom-light: #aa629b;
$custom-dark: #000000;
JSON
{
  "hex": "#821673",
  "rgb": {
    "r": 130,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 308.333,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.17166,
    "h": 334.8
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#821673
secondary
#3DB74E
accent
#EE533A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821673

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

Preview Lab → · Contrast checker → · Palette generator →

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