#532B87#532B87

#532B87 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.146 H 299.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#532B87
RGBrgb(83, 43, 135)
HSLhsl(266, 52%, 35%)
HSVhsv(266, 68%, 53%)
CMYKcmyk(38.5%, 68.1%, 0%, 47.1%)
CIE-LABlab(27.62, 38.22, -44.73)
CIE-LCHlch(27.62, 58.84, 310.51°)
OKLaboklab(39.27% 0.0722 -0.1274)
OKLCHoklch(39.27% 0.146 299.5)
XYZxyz(8.8032, 5.3159, 23.4793)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B87 #5F872B
analogous
#2B3187 #532B87 #812B87
triadic
#532B87 #87532B #2B8753
tetradic
#532B87 #872B31 #5F872B #2B8781
square
#532B87 #872B31 #5F872B #2B8781
split-complementary
#532B87 #87812B #31872B
monochromatic
#1A0D2A #361C59 #532B87 #703AB5 #8F60CC

Accessibility & contrast

On white

10.18
#532B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#532B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B87
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B87#FFFFFF#000000##FFFFFF
##532B871.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#474055
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #532b87;
/* rgb */ color: rgb(83, 43, 135);
/* oklch */ color: oklch(39.3% 0.146 299.5);
Tailwind
colors: {
  custom: {
    50: '#8867ab',
    500: '#532b87',
    950: '#000000',
  },
}
SCSS
$custom: #532b87;
$custom-light: #8867ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532b87",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 266.087,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39269,
    "c": 0.14644,
    "h": 299.5
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#532B87
secondary
#8DB25B
accent
#DB4D9D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532B87

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

Preview Lab → · Contrast checker → · Palette generator →

#532B87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva