#532168#532168

#532168 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.125 H 314.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#532168
RGBrgb(83, 33, 104)
HSLhsl(282, 52%, 27%)
HSVhsv(282, 68%, 41%)
CMYKcmyk(20.2%, 68.3%, 0%, 59.2%)
CIE-LABlab(23.43, 35.67, -31.76)
CIE-LCHlch(23.43, 47.76, 318.32°)
OKLaboklab(35.53% 0.0873 -0.0893)
OKLCHoklch(35.53% 0.125 314.4)
XYZxyz(6.6094, 3.9264, 13.5037)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532168 #366821
analogous
#302168 #532168 #68215A
triadic
#532168 #685321 #216853
tetradic
#532168 #683021 #366821 #215A68
square
#532168 #683021 #366821 #215A68
split-complementary
#532168 #5A6821 #216830
monochromatic
#130717 #2E123A #532168 #783096 #9C41C3

Accessibility & contrast

On white

11.76
#532168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#532168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532168
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532168#FFFFFF#000000##FFFFFF
##5321681.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03356A
Deuteranopia (green-blind)
#1E3966
Tritanopia (blue-blind)
#512E41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #532168;
/* rgb */ color: rgb(83, 33, 104);
/* oklch */ color: oklch(35.5% 0.125 314.4);
Tailwind
colors: {
  custom: {
    50: '#866093',
    500: '#532168',
    950: '#000000',
  },
}
SCSS
$custom: #532168;
$custom-light: #866093;
$custom-dark: #000000;
JSON
{
  "hex": "#532168",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 282.254,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35534,
    "c": 0.12487,
    "h": 314.4
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#532168
secondary
#619C49
accent
#DB4D77
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #532168

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

Preview Lab → · Contrast checker → · Palette generator →

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