#521269#521269

#521269 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.8% C 0.145 H 315.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#521269
RGBrgb(82, 18, 105)
HSLhsl(284, 71%, 24%)
HSVhsv(284, 83%, 41%)
CMYKcmyk(21.9%, 82.9%, 0%, 58.8%)
CIE-LABlab(21.01, 42.26, -36.32)
CIE-LCHlch(21.01, 55.72, 319.32°)
OKLaboklab(33.8% 0.1024 -0.1026)
OKLCHoklch(33.8% 0.145 315)
XYZxyz(6.2454, 3.2466, 13.6595)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521269 #296912
analogous
#271269 #521269 #691255
triadic
#521269 #695212 #126952
tetradic
#521269 #692712 #296912 #125569
square
#521269 #692712 #296912 #125569
split-complementary
#521269 #556912 #126927
monochromatic
#14041A #290935 #521269 #7B1B9D #A424D1

Accessibility & contrast

On white

12.73
#521269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521269
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521269#FFFFFF#000000##FFFFFF
##5212691.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#0D3467
Tritanopia (blue-blind)
#50273E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521269;
/* rgb */ color: rgb(82, 18, 105);
/* oklch */ color: oklch(33.8% 0.145 315.0);
Tailwind
colors: {
  custom: {
    50: '#865994',
    500: '#521269',
    950: '#000000',
  },
}
SCSS
$custom: #521269;
$custom-light: #865994;
$custom-dark: #000000;
JSON
{
  "hex": "#521269",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 284.138,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33799,
    "c": 0.14496,
    "h": 315
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#521269
secondary
#52A136
accent
#ED3A6A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #521269

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

Preview Lab → · Contrast checker → · Palette generator →

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