#532086#532086

#532086 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.159 H 301.9°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#532086
RGBrgb(83, 32, 134)
HSLhsl(270, 61%, 33%)
HSVhsv(270, 76%, 53%)
CMYKcmyk(38.1%, 76.1%, 0%, 47.5%)
CIE-LABlab(25.54, 43.53, -47.48)
CIE-LCHlch(25.54, 64.41, 312.51°)
OKLaboklab(37.77% 0.0842 -0.1354)
OKLCHoklch(37.77% 0.159 301.9)
XYZxyz(8.3858, 4.5932, 22.9944)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532086 #538620
analogous
#202086 #532086 #862086
triadic
#532086 #865320 #208653
tetradic
#532086 #862020 #538620 #208686
square
#532086 #862020 #538620 #208686
split-complementary
#532086 #868620 #208620
monochromatic
#160823 #341455 #532086 #722CB7 #904CD4

Accessibility & contrast

On white

10.95
#532086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532086
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532086#FFFFFF#000000##FFFFFF
##5320861.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532086;
/* rgb */ color: rgb(83, 32, 134);
/* oklch */ color: oklch(37.8% 0.159 301.9);
Tailwind
colors: {
  custom: {
    50: '#8861aa',
    500: '#532086',
    950: '#000000',
  },
}
SCSS
$custom: #532086;
$custom-light: #8861aa;
$custom-dark: #000000;
JSON
{
  "hex": "#532086",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 270,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37767,
    "c": 0.15946,
    "h": 301.9
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#532086
secondary
#81B74B
accent
#E54394
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #532086

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

Preview Lab → · Contrast checker → · Palette generator →

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