#521965#521965

#521965 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.133 H 316.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#521965
RGBrgb(82, 25, 101)
HSLhsl(285, 60%, 25%)
HSVhsv(285, 75%, 40%)
CMYKcmyk(18.8%, 75.2%, 0%, 60.4%)
CIE-LABlab(21.69, 38.57, -32.60)
CIE-LCHlch(21.69, 50.51, 319.79°)
OKLaboklab(34.19% 0.0959 -0.0917)
OKLCHoklch(34.19% 0.133 316.3)
XYZxyz(6.1759, 3.4289, 12.6459)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521965 #2C6519
analogous
#2C1965 #521965 #651952
triadic
#521965 #655219 #196552
tetradic
#521965 #652C19 #2C6519 #195265
square
#521965 #652C19 #2C6519 #195265
split-complementary
#521965 #526519 #19652C
monochromatic
#140619 #2A0D34 #521965 #7A2596 #A231C7

Accessibility & contrast

On white

12.46
#521965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521965
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521965#FFFFFF#000000##FFFFFF
##5219651.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#193663
Tritanopia (blue-blind)
#51283D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521965;
/* rgb */ color: rgb(82, 25, 101);
/* oklch */ color: oklch(34.2% 0.133 316.3);
Tailwind
colors: {
  custom: {
    50: '#865c91',
    500: '#521965',
    950: '#000000',
  },
}
SCSS
$custom: #521965;
$custom-light: #865c91;
$custom-dark: #000000;
JSON
{
  "hex": "#521965",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 285,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.13272,
    "h": 316.3
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#521965
secondary
#569B3F
accent
#E3446C
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521965

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

Preview Lab → · Contrast checker → · Palette generator →

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