#532186#532186

#532186 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.158 H 301.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#532186
RGBrgb(83, 33, 134)
HSLhsl(270, 60%, 33%)
HSVhsv(270, 75%, 53%)
CMYKcmyk(38.1%, 75.4%, 0%, 47.5%)
CIE-LABlab(25.71, 43.06, -47.21)
CIE-LCHlch(25.71, 63.90, 312.37°)
OKLaboklab(37.88% 0.0832 -0.1346)
OKLCHoklch(37.88% 0.158 301.7)
XYZxyz(8.4132, 4.6479, 23.0035)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532186 #548621
analogous
#212186 #532186 #852186
triadic
#532186 #865321 #218653
tetradic
#532186 #862121 #548621 #218685
square
#532186 #862121 #548621 #218685
split-complementary
#532186 #868521 #218621
monochromatic
#160924 #351555 #532186 #712DB7 #904ED3

Accessibility & contrast

On white

10.88
#532186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#532186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532186
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532186#FFFFFF#000000##FFFFFF
##5321861.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#483A52
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #532186;
/* rgb */ color: rgb(83, 33, 134);
/* oklch */ color: oklch(37.9% 0.158 301.7);
Tailwind
colors: {
  custom: {
    50: '#8861aa',
    500: '#532186',
    950: '#000000',
  },
}
SCSS
$custom: #532186;
$custom-light: #8861aa;
$custom-dark: #000000;
JSON
{
  "hex": "#532186",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 269.703,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37883,
    "c": 0.15828,
    "h": 301.7
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#532186
secondary
#82B74C
accent
#E44495
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #532186

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

Preview Lab → · Contrast checker → · Palette generator →

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