#521468#521468

#521468 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.142 H 315.3°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#521468
RGBrgb(82, 20, 104)
HSLhsl(284, 68%, 24%)
HSVhsv(284, 81%, 41%)
CMYKcmyk(21.2%, 80.8%, 0%, 59.2%)
CIE-LABlab(21.18, 41.30, -35.38)
CIE-LCHlch(21.18, 54.38, 319.42°)
OKLaboklab(33.9% 0.1008 -0.0998)
OKLCHoklch(33.9% 0.142 315.3)
XYZxyz(6.2281, 3.2939, 13.4017)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521468 #2A6814
analogous
#281468 #521468 #681454
triadic
#521468 #685214 #146852
tetradic
#521468 #682814 #2A6814 #145468
square
#521468 #682814 #2A6814 #145468
split-complementary
#521468 #546814 #146828
monochromatic
#14051A #2A0A35 #521468 #7A1E9B #A328CF

Accessibility & contrast

On white

12.66
#521468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#521468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521468
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521468#FFFFFF#000000##FFFFFF
##5214681.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521468;
/* rgb */ color: rgb(82, 20, 104);
/* oklch */ color: oklch(33.9% 0.142 315.3);
Tailwind
colors: {
  custom: {
    50: '#865994',
    500: '#521468',
    950: '#000000',
  },
}
SCSS
$custom: #521468;
$custom-light: #865994;
$custom-dark: #000000;
JSON
{
  "hex": "#521468",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 284.286,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33901,
    "c": 0.14183,
    "h": 315.3
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#521468
secondary
#549F39
accent
#EB3D6B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521468

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

Preview Lab → · Contrast checker → · Palette generator →

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