#52264F#52264F

#52264F is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.6% C 0.088 H 329.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#52264F
RGBrgb(82, 38, 79)
HSLhsl(304, 37%, 24%)
HSVhsv(304, 54%, 32%)
CMYKcmyk(0%, 53.7%, 3.7%, 67.8%)
CIE-LABlab(22.81, 27.09, -16.24)
CIE-LCHlch(22.81, 31.58, 329.07°)
OKLaboklab(34.57% 0.0764 -0.0443)
OKLCHoklch(34.57% 0.088 329.9)
XYZxyz(5.5840, 3.7449, 7.8243)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52264F #265229
analogous
#3F2652 #52264F #522639
triadic
#52264F #4F5226 #264F52
tetradic
#52264F #523F26 #265229 #263952
square
#52264F #523F26 #265229 #263952
split-complementary
#52264F #395226 #26523F
monochromatic
#150A14 #281327 #52264F #7C3977 #A64DA0

Accessibility & contrast

On white

12.01
#52264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#52264F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52264F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52264F#FFFFFF#000000##FFFFFF
##52264F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#552A37
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #52264f;
/* rgb */ color: rgb(82, 38, 79);
/* oklch */ color: oklch(34.6% 0.088 329.9);
Tailwind
colors: {
  custom: {
    50: '#846280',
    500: '#52264f',
    950: '#000000',
  },
}
SCSS
$custom: #52264f;
$custom-light: #846280;
$custom-dark: #000000;
JSON
{
  "hex": "#52264f",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 304.091,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34571,
    "c": 0.08834,
    "h": 329.9
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#52264F
secondary
#4F8552
accent
#CD635B
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #52264F

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

Preview Lab → · Contrast checker → · Palette generator →

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