#821474#821474

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

Color values

HEX#821474
RGBrgb(130, 20, 116)
HSLhsl(308, 73%, 29%)
HSVhsv(308, 85%, 51%)
CMYKcmyk(0%, 84.6%, 10.8%, 49%)
CIE-LABlab(30.66, 53.88, -27.48)
CIE-LCHlch(30.66, 60.49, 332.98°)
OKLaboklab(42.55% 0.1569 -0.0754)
OKLCHoklch(42.55% 0.174 334.3)
XYZxyz(12.6086, 6.5082, 17.1118)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821474 #148222
analogous
#591482 #821474 #82143D
triadic
#821474 #748214 #147482
tetradic
#821474 #825914 #148222 #143D82
square
#821474 #825914 #148222 #143D82
split-complementary
#821474 #3D8214 #148259
monochromatic
#1B0418 #4D0C45 #821474 #B71CA3 #DF31C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821474#FFFFFF#000000##FFFFFF
##8214741.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)
#113E76
Deuteranopia (green-blind)
#3E4E72
Tritanopia (blue-blind)
#892045
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821474;
/* rgb */ color: rgb(130, 20, 116);
/* oklch */ color: oklch(42.5% 0.174 334.3);
Tailwind
colors: {
  custom: {
    50: '#aa629c',
    500: '#821474',
    950: '#000000',
  },
}
SCSS
$custom: #821474;
$custom-light: #aa629c;
$custom-dark: #000000;
JSON
{
  "hex": "#821474",
  "rgb": {
    "r": 130,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 307.636,
    "s": 73.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.17406,
    "h": 334.3
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#821474
secondary
#3BB74B
accent
#F04F38
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821474

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

Preview Lab → · Contrast checker → · Palette generator →

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