#532259#532259

#532259 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.107 H 323.2°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#532259
RGBrgb(83, 34, 89)
HSLhsl(293, 45%, 24%)
HSVhsv(293, 62%, 35%)
CMYKcmyk(6.7%, 61.8%, 0%, 65.1%)
CIE-LABlab(22.67, 31.77, -23.11)
CIE-LCHlch(22.67, 39.28, 323.96°)
OKLaboklab(34.68% 0.0855 -0.0641)
OKLCHoklch(34.68% 0.107 323.2)
XYZxyz(5.9423, 3.7046, 9.8513)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532259 #285922
analogous
#382259 #532259 #592244
triadic
#532259 #595322 #225953
tetradic
#532259 #593822 #285922 #224459
square
#532259 #593822 #285922 #224459
split-complementary
#532259 #445922 #225938
monochromatic
#150816 #2A112D #532259 #7C3385 #A644B2

Accessibility & contrast

On white

12.06
#532259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#532259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532259
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532259#FFFFFF#000000##FFFFFF
##5322591.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19325B
Deuteranopia (green-blind)
#2A3858
Tritanopia (blue-blind)
#542A3A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #532259;
/* rgb */ color: rgb(83, 34, 89);
/* oklch */ color: oklch(34.7% 0.107 323.2);
Tailwind
colors: {
  custom: {
    50: '#856088',
    500: '#532259',
    950: '#000000',
  },
}
SCSS
$custom: #532259;
$custom-light: #856088;
$custom-dark: #000000;
JSON
{
  "hex": "#532259",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 293.455,
    "s": 44.715,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34678,
    "c": 0.10687,
    "h": 323.2
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#532259
secondary
#518D4A
accent
#D45361
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #532259

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

Preview Lab → · Contrast checker → · Palette generator →

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