#521368#521368

#521368 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.143 H 315.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#521368
RGBrgb(82, 19, 104)
HSLhsl(284, 69%, 24%)
HSVhsv(284, 82%, 41%)
CMYKcmyk(21.2%, 81.7%, 0%, 59.2%)
CIE-LABlab(21.05, 41.68, -35.59)
CIE-LCHlch(21.05, 54.80, 319.51°)
OKLaboklab(33.81% 0.1017 -0.1004)
OKLCHoklch(33.81% 0.143 315.4)
XYZxyz(6.2108, 3.2593, 13.3960)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521368 #296813
analogous
#281368 #521368 #681354
triadic
#521368 #685213 #136852
tetradic
#521368 #682813 #296813 #135468
square
#521368 #682813 #296813 #135468
split-complementary
#521368 #546813 #136828
monochromatic
#14051A #290A34 #521368 #7B1C9C #A426CF

Accessibility & contrast

On white

12.71
#521368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#521368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521368
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521368#FFFFFF#000000##FFFFFF
##5213681.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#103466
Tritanopia (blue-blind)
#50273D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #521368;
/* rgb */ color: rgb(82, 19, 104);
/* oklch */ color: oklch(33.8% 0.143 315.4);
Tailwind
colors: {
  custom: {
    50: '#865994',
    500: '#521368',
    950: '#000000',
  },
}
SCSS
$custom: #521368;
$custom-light: #865994;
$custom-dark: #000000;
JSON
{
  "hex": "#521368",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 284.471,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33809,
    "c": 0.14294,
    "h": 315.4
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#521368
secondary
#529F37
accent
#EC3C69
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521368

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

Preview Lab → · Contrast checker → · Palette generator →

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