#532CAB#532CAB

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

Color values

HEX#532CAB
RGBrgb(83, 44, 171)
HSLhsl(258, 59%, 42%)
HSVhsv(258, 74%, 67%)
CMYKcmyk(51.5%, 74.3%, 0%, 32.9%)
CIE-LABlab(30.83, 47.69, -61.50)
CIE-LCHlch(30.83, 77.82, 307.79°)
OKLaboklab(42.5% 0.0643 -0.1766)
OKLCHoklch(42.5% 0.188 290)
XYZxyz(11.8165, 6.5801, 39.1677)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CAB #84AB2C
analogous
#2C45AB #532CAB #932CAB
triadic
#532CAB #AB532C #2CAB53
tetradic
#532CAB #AB2C45 #84AB2C #2CAB93
square
#532CAB #AB2C45 #84AB2C #2CAB93
split-complementary
#532CAB #AB932C #45AB2C
monochromatic
#24134A #3B1F7A #532CAB #6F45CF #9576DC

Accessibility & contrast

On white

9.07
#532CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#532CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CAB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CAB#FFFFFF#000000##FFFFFF
##532CAB1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#344E69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532cab;
/* rgb */ color: rgb(83, 44, 171);
/* oklch */ color: oklch(42.5% 0.188 290.0);
Tailwind
colors: {
  custom: {
    50: '#8c69c5',
    500: '#532cab',
    950: '#000000',
  },
}
SCSS
$custom: #532cab;
$custom-light: #8c69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#532cab",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 258.425,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42498,
    "c": 0.188,
    "h": 290
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#532CAB
secondary
#AAC36F
accent
#E246B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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