#521750#521750

#521750 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.115 H 329.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#521750
RGBrgb(82, 23, 80)
HSLhsl(302, 56%, 21%)
HSVhsv(302, 72%, 32%)
CMYKcmyk(0%, 72%, 2.4%, 67.8%)
CIE-LABlab(19.99, 35.10, -21.33)
CIE-LCHlch(19.99, 41.07, 328.72°)
OKLaboklab(32.52% 0.0988 -0.0588)
OKLCHoklch(32.52% 0.115 329.2)
XYZxyz(5.2340, 2.9862, 7.8886)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521750 #175219
analogous
#361752 #521750 #521732
triadic
#521750 #505217 #175052
tetradic
#521750 #523617 #175219 #173252
square
#521750 #523617 #175219 #173252
split-complementary
#521750 #325217 #175236
monochromatic
#180717 #220A21 #521750 #82247F #B232AD

Accessibility & contrast

On white

13.15
#521750 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#521750 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521750
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521750#FFFFFF#000000##FFFFFF
##5217501.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B52
Deuteranopia (green-blind)
#27334E
Tritanopia (blue-blind)
#551E31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521750;
/* rgb */ color: rgb(82, 23, 80);
/* oklch */ color: oklch(32.5% 0.115 329.2);
Tailwind
colors: {
  custom: {
    50: '#855a81',
    500: '#521750',
    950: '#000000',
  },
}
SCSS
$custom: #521750;
$custom-light: #855a81;
$custom-dark: #000000;
JSON
{
  "hex": "#521750",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 80
  },
  "hsl": {
    "h": 302.034,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32523,
    "c": 0.11499,
    "h": 329.2
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#521750
secondary
#3C893E
accent
#DF4D48
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521750

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

Preview Lab → · Contrast checker → · Palette generator →

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