#532264#532264

#532264 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.4% C 0.119 H 316.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#532264
RGBrgb(83, 34, 100)
HSLhsl(285, 49%, 26%)
HSVhsv(285, 66%, 39%)
CMYKcmyk(17%, 66%, 0%, 60.8%)
CIE-LABlab(23.35, 34.22, -29.28)
CIE-LCHlch(23.35, 45.04, 319.45°)
OKLaboklab(35.39% 0.0861 -0.082)
OKLCHoklch(35.39% 0.119 316.4)
XYZxyz(6.4392, 3.9034, 12.4684)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532264 #336422
analogous
#322264 #532264 #642254
triadic
#532264 #645322 #226453
tetradic
#532264 #643222 #336422 #225464
square
#532264 #643222 #336422 #225464
split-complementary
#532264 #546422 #226432
monochromatic
#130817 #2D1236 #532264 #793292 #9E42BF

Accessibility & contrast

On white

11.79
#532264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#532264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532264
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532264#FFFFFF#000000##FFFFFF
##5322641.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#233962
Tritanopia (blue-blind)
#522E3F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #532264;
/* rgb */ color: rgb(83, 34, 100);
/* oklch */ color: oklch(35.4% 0.119 316.4);
Tailwind
colors: {
  custom: {
    50: '#866190',
    500: '#532264',
    950: '#000000',
  },
}
SCSS
$custom: #532264;
$custom-light: #866190;
$custom-dark: #000000;
JSON
{
  "hex": "#532264",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 284.545,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35393,
    "c": 0.11887,
    "h": 316.4
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#532264
secondary
#5E984A
accent
#D94F72
background
#F8F5F8
surface
#EFEAF0
border
#CAC6CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #532264

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

Preview Lab → · Contrast checker → · Palette generator →

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