#532B8A#532B8A

#532B8A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.150 H 298.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#532B8A
RGBrgb(83, 43, 138)
HSLhsl(265, 52%, 35%)
HSVhsv(265, 69%, 54%)
CMYKcmyk(39.9%, 68.8%, 0%, 45.9%)
CIE-LABlab(27.85, 39.04, -46.22)
CIE-LCHlch(27.85, 60.50, 310.18°)
OKLaboklab(39.51% 0.0718 -0.1318)
OKLCHoklch(39.51% 0.15 298.6)
XYZxyz(9.0174, 5.4016, 24.6074)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B8A #628A2B
analogous
#2B338A #532B8A #822B8A
triadic
#532B8A #8A532B #2B8A53
tetradic
#532B8A #8A2B33 #628A2B #2B8A82
square
#532B8A #8A2B33 #628A2B #2B8A82
split-complementary
#532B8A #8A822B #338A2B
monochromatic
#1B0E2D #371C5B #532B8A #6F3AB9 #8F61CE

Accessibility & contrast

On white

10.09
#532B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#532B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B8A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B8A#FFFFFF#000000##FFFFFF
##532B8A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#464157
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532b8a;
/* rgb */ color: rgb(83, 43, 138);
/* oklch */ color: oklch(39.5% 0.150 298.6);
Tailwind
colors: {
  custom: {
    50: '#8867ad',
    500: '#532b8a',
    950: '#000000',
  },
}
SCSS
$custom: #532b8a;
$custom-light: #8867ad;
$custom-dark: #000000;
JSON
{
  "hex": "#532b8a",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 265.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3951,
    "c": 0.15008,
    "h": 298.6
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#532B8A
secondary
#8FB45D
accent
#DC4C9F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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