#532087#532087

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

Color values

HEX#532087
RGBrgb(83, 32, 135)
HSLhsl(270, 62%, 33%)
HSVhsv(270, 76%, 53%)
CMYKcmyk(38.5%, 76.3%, 0%, 47.1%)
CIE-LABlab(25.63, 43.78, -47.96)
CIE-LCHlch(25.63, 64.94, 312.39°)
OKLaboklab(37.85% 0.084 -0.1368)
OKLCHoklch(37.85% 0.161 301.5)
XYZxyz(8.4559, 4.6212, 23.3635)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532087 #548720
analogous
#202087 #532087 #872087
triadic
#532087 #875320 #208753
tetradic
#532087 #872020 #548720 #208787
square
#532087 #872020 #548720 #208787
split-complementary
#532087 #878720 #208720
monochromatic
#160924 #351456 #532087 #712CB8 #904DD5

Accessibility & contrast

On white

10.91
#532087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#532087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532087
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532087#FFFFFF#000000##FFFFFF
##5320871.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532087;
/* rgb */ color: rgb(83, 32, 135);
/* oklch */ color: oklch(37.9% 0.161 301.5);
Tailwind
colors: {
  custom: {
    50: '#8961ab',
    500: '#532087',
    950: '#000000',
  },
}
SCSS
$custom: #532087;
$custom-light: #8961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532087",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 269.709,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.16057,
    "h": 301.5
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#532087
secondary
#82B84B
accent
#E54395
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #532087

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

Preview Lab → · Contrast checker → · Palette generator →

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