#521348#521348

#521348 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.114 H 335.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#521348
RGBrgb(82, 19, 72)
HSLhsl(310, 62%, 20%)
HSVhsv(310, 77%, 32%)
CMYKcmyk(0%, 76.8%, 12.2%, 67.8%)
CIE-LABlab(18.92, 35.35, -17.55)
CIE-LCHlch(18.92, 39.47, 333.59°)
OKLaboklab(31.6% 0.1031 -0.0479)
OKLCHoklch(31.6% 0.114 335.1)
XYZxyz(4.8823, 2.7279, 6.3990)
Luminance0.0273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521348 #13521D
analogous
#3D1352 #521348 #521328
triadic
#521348 #485213 #134852
tetradic
#521348 #523D13 #13521D #132852
square
#521348 #523D13 #13521D #132852
split-complementary
#521348 #285213 #13523D
monochromatic
#190616 #20071C #521348 #841F74 #B52A9F

Accessibility & contrast

On white

13.59
#521348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521348
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521348#FFFFFF#000000##FFFFFF
##5213481.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132849
Deuteranopia (green-blind)
#293146
Tritanopia (blue-blind)
#56182B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521348;
/* rgb */ color: rgb(82, 19, 72);
/* oklch */ color: oklch(31.6% 0.114 335.1);
Tailwind
colors: {
  custom: {
    50: '#85577b',
    500: '#521348',
    950: '#000000',
  },
}
SCSS
$custom: #521348;
$custom-light: #85577b;
$custom-dark: #000000;
JSON
{
  "hex": "#521348",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 309.524,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31601,
    "c": 0.11367,
    "h": 335.1
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#521348
secondary
#368A44
accent
#E55C42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521348

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

Preview Lab → · Contrast checker → · Palette generator →

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