#532166#532166

#532166 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.4% C 0.123 H 315.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#532166
RGBrgb(83, 33, 102)
HSLhsl(283, 51%, 26%)
HSVhsv(283, 68%, 40%)
CMYKcmyk(18.6%, 67.6%, 0%, 60%)
CIE-LABlab(23.29, 35.20, -30.67)
CIE-LCHlch(23.29, 46.69, 318.93°)
OKLaboklab(35.39% 0.0874 -0.0861)
OKLCHoklch(35.39% 0.123 315.4)
XYZxyz(6.5090, 3.8862, 12.9750)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532166 #346621
analogous
#312166 #532166 #662157
triadic
#532166 #665321 #216653
tetradic
#532166 #663121 #346621 #215766
square
#532166 #663121 #346621 #215766
split-complementary
#532166 #576621 #216631
monochromatic
#130717 #2D1238 #532166 #793094 #9E40C1

Accessibility & contrast

On white

11.82
#532166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532166
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532166#FFFFFF#000000##FFFFFF
##5321661.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063568
Deuteranopia (green-blind)
#203964
Tritanopia (blue-blind)
#522E40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #532166;
/* rgb */ color: rgb(83, 33, 102);
/* oklch */ color: oklch(35.4% 0.123 315.4);
Tailwind
colors: {
  custom: {
    50: '#866092',
    500: '#532166',
    950: '#000000',
  },
}
SCSS
$custom: #532166;
$custom-light: #866092;
$custom-dark: #000000;
JSON
{
  "hex": "#532166",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 283.478,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.12266,
    "h": 315.4
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#532166
secondary
#5F9A49
accent
#DB4D74
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #532166

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

Preview Lab → · Contrast checker → · Palette generator →

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