#532AB0#532AB0

#532AB0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.196 H 289.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#532AB0
RGBrgb(83, 42, 176)
HSLhsl(258, 61%, 43%)
HSVhsv(258, 76%, 69%)
CMYKcmyk(52.8%, 76.1%, 0%, 31%)
CIE-LABlab(30.95, 50.06, -64.30)
CIE-LCHlch(30.95, 81.49, 307.90°)
OKLaboklab(42.72% 0.0647 -0.1848)
OKLCHoklch(42.72% 0.196 289.3)
XYZxyz(12.2294, 6.6290, 41.7010)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AB0 #87B02A
analogous
#2A44B0 #532AB0 #962AB0
triadic
#532AB0 #B0532A #2AB053
tetradic
#532AB0 #B02A44 #87B02A #2AB096
square
#532AB0 #B02A44 #87B02A #2AB096
split-complementary
#532AB0 #B0962A #44B02A
monochromatic
#24124D #3C1E7F #532AB0 #7045D3 #9676DE

Accessibility & contrast

On white

9.03
#532AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#532AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AB0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AB0#FFFFFF#000000##FFFFFF
##532AB01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#304F6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532ab0;
/* rgb */ color: rgb(83, 42, 176);
/* oklch */ color: oklch(42.7% 0.196 289.3);
Tailwind
colors: {
  custom: {
    50: '#8d68c9',
    500: '#532ab0',
    950: '#000000',
  },
}
SCSS
$custom: #532ab0;
$custom-light: #8d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#532ab0",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 258.358,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.19584,
    "h": 289.3
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#532AB0
secondary
#ACC670
accent
#E543B3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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