#521465#521465

#521465 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.139 H 316.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#521465
RGBrgb(82, 20, 101)
HSLhsl(286, 67%, 24%)
HSVhsv(286, 80%, 40%)
CMYKcmyk(18.8%, 80.2%, 0%, 60.4%)
CIE-LABlab(20.96, 40.65, -33.78)
CIE-LCHlch(20.96, 52.85, 320.28°)
OKLaboklab(33.67% 0.1013 -0.0951)
OKLCHoklch(33.67% 0.139 316.8)
XYZxyz(6.0784, 3.2340, 12.6134)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521465 #276514
analogous
#291465 #521465 #65144F
triadic
#521465 #655214 #146552
tetradic
#521465 #652914 #276514 #144F65
square
#521465 #652914 #276514 #144F65
split-complementary
#521465 #4F6514 #146529
monochromatic
#15051A #290A32 #521465 #7B1E98 #A528CB

Accessibility & contrast

On white

12.75
#521465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521465
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521465#FFFFFF#000000##FFFFFF
##5214651.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#153463
Tritanopia (blue-blind)
#51263C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521465;
/* rgb */ color: rgb(82, 20, 101);
/* oklch */ color: oklch(33.7% 0.139 316.8);
Tailwind
colors: {
  custom: {
    50: '#865991',
    500: '#521465',
    950: '#000000',
  },
}
SCSS
$custom: #521465;
$custom-light: #865991;
$custom-dark: #000000;
JSON
{
  "hex": "#521465",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 285.926,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33669,
    "c": 0.13892,
    "h": 316.8
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#521465
secondary
#509C39
accent
#EA3E66
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521465

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

Preview Lab → · Contrast checker → · Palette generator →

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