#52264D#52264D

#52264D is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.5% C 0.086 H 331.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#52264D
RGBrgb(82, 38, 77)
HSLhsl(307, 37%, 24%)
HSVhsv(307, 54%, 32%)
CMYKcmyk(0%, 53.7%, 6.1%, 67.8%)
CIE-LABlab(22.71, 26.68, -15.05)
CIE-LCHlch(22.71, 30.64, 330.58°)
OKLaboklab(34.47% 0.076 -0.041)
OKLCHoklch(34.47% 0.086 331.7)
XYZxyz(5.5123, 3.7162, 7.4467)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52264D #26522B
analogous
#412652 #52264D #522637
triadic
#52264D #4D5226 #264D52
tetradic
#52264D #524126 #26522B #263752
square
#52264D #524126 #26522B #263752
split-complementary
#52264D #375226 #265241
monochromatic
#150A14 #281326 #52264D #7C3974 #A64D9C

Accessibility & contrast

On white

12.05
#52264D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#52264D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52264D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52264D#FFFFFF#000000##FFFFFF
##52264D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#31384C
Tritanopia (blue-blind)
#552936
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #52264d;
/* rgb */ color: rgb(82, 38, 77);
/* oklch */ color: oklch(34.5% 0.086 331.7);
Tailwind
colors: {
  custom: {
    50: '#84627f',
    500: '#52264d',
    950: '#000000',
  },
}
SCSS
$custom: #52264d;
$custom-light: #84627f;
$custom-dark: #000000;
JSON
{
  "hex": "#52264d",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 77
  },
  "hsl": {
    "h": 306.818,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.0863,
    "h": 331.7
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#52264D
secondary
#4F8555
accent
#CD685B
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #52264D

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

Preview Lab → · Contrast checker → · Palette generator →

#52264D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva