#521869#521869

#521869 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.138 H 314.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#521869
RGBrgb(82, 24, 105)
HSLhsl(283, 63%, 25%)
HSVhsv(283, 77%, 41%)
CMYKcmyk(21.9%, 77.1%, 0%, 58.8%)
CIE-LABlab(21.83, 39.90, -34.99)
CIE-LCHlch(21.83, 53.07, 318.75°)
OKLaboklab(34.38% 0.0966 -0.0987)
OKLCHoklch(34.38% 0.138 314.4)
XYZxyz(6.3557, 3.4672, 13.6963)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521869 #2F6918
analogous
#291869 #521869 #691857
triadic
#521869 #695218 #186952
tetradic
#521869 #692918 #2F6918 #185769
square
#521869 #692918 #2F6918 #185769
split-complementary
#521869 #576918 #186929
monochromatic
#130619 #2B0D37 #521869 #79239B #A02FCD

Accessibility & contrast

On white

12.40
#521869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521869
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521869#FFFFFF#000000##FFFFFF
##5218691.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#133667
Tritanopia (blue-blind)
#502A3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521869;
/* rgb */ color: rgb(82, 24, 105);
/* oklch */ color: oklch(34.4% 0.138 314.4);
Tailwind
colors: {
  custom: {
    50: '#865b94',
    500: '#521869',
    950: '#000000',
  },
}
SCSS
$custom: #521869;
$custom-light: #865b94;
$custom-dark: #000000;
JSON
{
  "hex": "#521869",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 282.963,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34379,
    "c": 0.13808,
    "h": 314.4
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#521869
secondary
#599F3E
accent
#E64270
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521869

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

Preview Lab → · Contrast checker → · Palette generator →

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