#521963#521963

#521963 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.131 H 317.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#521963
RGBrgb(82, 25, 99)
HSLhsl(286, 60%, 24%)
HSVhsv(286, 75%, 39%)
CMYKcmyk(17.2%, 74.7%, 0%, 61.2%)
CIE-LABlab(21.54, 38.13, -31.52)
CIE-LCHlch(21.54, 49.47, 320.42°)
OKLaboklab(34.04% 0.0961 -0.0885)
OKLCHoklch(34.04% 0.131 317.4)
XYZxyz(6.0791, 3.3902, 12.1361)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521963 #2A6319
analogous
#2D1963 #521963 #63194F
triadic
#521963 #635219 #196352
tetradic
#521963 #632D19 #2A6319 #194F63
square
#521963 #632D19 #2A6319 #194F63
split-complementary
#521963 #4F6319 #19632D
monochromatic
#140618 #2A0D32 #521963 #7A2594 #A332C5

Accessibility & contrast

On white

12.51
#521963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#521963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521963
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521963#FFFFFF#000000##FFFFFF
##5219631.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#1B3561
Tritanopia (blue-blind)
#51283C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521963;
/* rgb */ color: rgb(82, 25, 99);
/* oklch */ color: oklch(34.0% 0.131 317.4);
Tailwind
colors: {
  custom: {
    50: '#855c90',
    500: '#521963',
    950: '#000000',
  },
}
SCSS
$custom: #521963;
$custom-light: #855c90;
$custom-dark: #000000;
JSON
{
  "hex": "#521963",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 286.216,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34039,
    "c": 0.13068,
    "h": 317.4
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#521963
secondary
#54993F
accent
#E34569
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #521963

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

Preview Lab → · Contrast checker → · Palette generator →

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