#532BAC#532BAC

#532BAC is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.190 H 290.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#532BAC
RGBrgb(83, 43, 172)
HSLhsl(259, 60%, 42%)
HSVhsv(259, 75%, 67%)
CMYKcmyk(51.7%, 75%, 0%, 32.5%)
CIE-LABlab(30.75, 48.46, -62.23)
CIE-LCHlch(30.75, 78.88, 307.91°)
OKLaboklab(42.47% 0.0649 -0.1788)
OKLCHoklch(42.47% 0.19 290)
XYZxyz(11.8754, 6.5448, 39.6593)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BAC #84AC2B
analogous
#2B43AC #532BAC #942BAC
triadic
#532BAC #AC532B #2BAC53
tetradic
#532BAC #AC2B43 #84AC2B #2BAC94
square
#532BAC #AC2B43 #84AC2B #2BAC94
split-complementary
#532BAC #AC942B #43AC2B
monochromatic
#24134A #3B1F7B #532BAC #6F44D0 #9575DC

Accessibility & contrast

On white

9.09
#532BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#532BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BAC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BAC#FFFFFF#000000##FFFFFF
##532BAC1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#334E69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532bac;
/* rgb */ color: rgb(83, 43, 172);
/* oklch */ color: oklch(42.5% 0.190 290.0);
Tailwind
colors: {
  custom: {
    50: '#8d69c6',
    500: '#532bac',
    950: '#000000',
  },
}
SCSS
$custom: #532bac;
$custom-light: #8d69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#532bac",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 258.605,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42466,
    "c": 0.19022,
    "h": 290
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#532BAC
secondary
#AAC46F
accent
#E345B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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