#521769#521769

#521769 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.139 H 314.5°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#521769
RGBrgb(82, 23, 105)
HSLhsl(283, 64%, 25%)
HSVhsv(283, 78%, 41%)
CMYKcmyk(21.9%, 78.1%, 0%, 58.8%)
CIE-LABlab(21.68, 40.32, -35.23)
CIE-LCHlch(21.68, 53.55, 318.86°)
OKLaboklab(34.27% 0.0976 -0.0994)
OKLCHoklch(34.27% 0.139 314.5)
XYZxyz(6.3354, 3.4268, 13.6896)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521769 #2E6917
analogous
#291769 #521769 #691757
triadic
#521769 #695217 #176952
tetradic
#521769 #692917 #2E6917 #175769
square
#521769 #692917 #2E6917 #175769
split-complementary
#521769 #576917 #176929
monochromatic
#140519 #2B0C37 #521769 #79229B #A02DCD

Accessibility & contrast

On white

12.46
#521769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#521769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521769
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521769#FFFFFF#000000##FFFFFF
##5217691.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#123567
Tritanopia (blue-blind)
#50293F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521769;
/* rgb */ color: rgb(82, 23, 105);
/* oklch */ color: oklch(34.3% 0.139 314.5);
Tailwind
colors: {
  custom: {
    50: '#865b94',
    500: '#521769',
    950: '#000000',
  },
}
SCSS
$custom: #521769;
$custom-light: #865b94;
$custom-dark: #000000;
JSON
{
  "hex": "#521769",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 283.171,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34274,
    "c": 0.13931,
    "h": 314.5
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#521769
secondary
#589F3D
accent
#E7416F
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521769

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

Preview Lab → · Contrast checker → · Palette generator →

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