#521150#521150

#521150 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.123 H 329.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#521150
RGBrgb(82, 17, 80)
HSLhsl(302, 66%, 19%)
HSVhsv(302, 79%, 32%)
CMYKcmyk(0%, 79.3%, 2.4%, 67.8%)
CIE-LABlab(19.12, 37.57, -22.71)
CIE-LCHlch(19.12, 43.90, 328.85°)
OKLaboklab(31.9% 0.1059 -0.0628)
OKLCHoklch(31.9% 0.123 329.3)
XYZxyz(5.1281, 2.7743, 7.8533)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521150 #115213
analogous
#341152 #521150 #521130
triadic
#521150 #505211 #115052
tetradic
#521150 #523411 #115213 #113052
square
#521150 #523411 #115213 #113052
split-complementary
#521150 #305211 #115234
monochromatic
#190519 #1F061F #521150 #851C81 #B726B3

Accessibility & contrast

On white

13.51
#521150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521150
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521150#FFFFFF#000000##FFFFFF
##5211501.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082952
Deuteranopia (green-blind)
#24314E
Tritanopia (blue-blind)
#551A2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521150;
/* rgb */ color: rgb(82, 17, 80);
/* oklch */ color: oklch(31.9% 0.123 329.3);
Tailwind
colors: {
  custom: {
    50: '#855781',
    500: '#521150',
    950: '#000000',
  },
}
SCSS
$custom: #521150;
$custom-light: #855781;
$custom-dark: #000000;
JSON
{
  "hex": "#521150",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 301.846,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31896,
    "c": 0.12306,
    "h": 329.3
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#521150
secondary
#348B36
accent
#E9443F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #521150

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

Preview Lab → · Contrast checker → · Palette generator →

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