#532BAB#532BAB

#532BAB is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.189 H 290.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#532BAB
RGBrgb(83, 43, 171)
HSLhsl(259, 60%, 42%)
HSVhsv(259, 75%, 67%)
CMYKcmyk(51.5%, 74.9%, 0%, 32.9%)
CIE-LABlab(30.66, 48.19, -61.78)
CIE-LCHlch(30.66, 78.35, 307.95°)
OKLaboklab(42.37% 0.0652 -0.1775)
OKLCHoklch(42.37% 0.189 290.2)
XYZxyz(11.7797, 6.5065, 39.1554)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BAB #83AB2B
analogous
#2B43AB #532BAB #932BAB
triadic
#532BAB #AB532B #2BAB53
tetradic
#532BAB #AB2B43 #83AB2B #2BAB93
square
#532BAB #AB2B43 #83AB2B #2BAB93
split-complementary
#532BAB #AB932B #43AB2B
monochromatic
#241249 #3B1F7A #532BAB #6F43D0 #9574DC

Accessibility & contrast

On white

9.12
#532BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#532BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BAB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BAB#FFFFFF#000000##FFFFFF
##532BAB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#344E69
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532bab;
/* rgb */ color: rgb(83, 43, 171);
/* oklch */ color: oklch(42.4% 0.189 290.2);
Tailwind
colors: {
  custom: {
    50: '#8c69c5',
    500: '#532bab',
    950: '#000000',
  },
}
SCSS
$custom: #532bab;
$custom-light: #8c69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#532bab",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 258.75,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.18907,
    "h": 290.2
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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