#532B9B#532B9B

#532B9B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.170 H 293.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#532B9B
RGBrgb(83, 43, 155)
HSLhsl(261, 57%, 39%)
HSVhsv(261, 72%, 61%)
CMYKcmyk(46.5%, 72.3%, 0%, 39.2%)
CIE-LABlab(29.24, 43.72, -54.42)
CIE-LCHlch(29.24, 69.80, 308.78°)
OKLaboklab(40.94% 0.0689 -0.1559)
OKLCHoklch(40.94% 0.17 293.8)
XYZxyz(10.3459, 5.9330, 31.6041)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B9B #739B2B
analogous
#2B3B9B #532B9B #8B2B9B
triadic
#532B9B #9B532B #2B9B53
tetradic
#532B9B #9B2B3B #739B2B #2B9B8B
square
#532B9B #9B2B3B #739B2B #2B9B8B
split-complementary
#532B9B #9B8B2B #3B9B2B
monochromatic
#20103B #391E6B #532B9B #6D3BC9 #916BD6

Accessibility & contrast

On white

9.60
#532B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#532B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B9B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B9B#FFFFFF#000000##FFFFFF
##532B9B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#3E4860
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532b9b;
/* rgb */ color: rgb(83, 43, 155);
/* oklch */ color: oklch(40.9% 0.170 293.8);
Tailwind
colors: {
  custom: {
    50: '#8a68b9',
    500: '#532b9b',
    950: '#000000',
  },
}
SCSS
$custom: #532b9b;
$custom-light: #8a68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#532b9b",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 261.429,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.1704,
    "h": 293.8
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#532B9B
secondary
#9DBC65
accent
#E048AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #532B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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