#532AB3#532AB3

#532AB3 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.199 H 288.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#532AB3
RGBrgb(83, 42, 179)
HSLhsl(258, 62%, 43%)
HSVhsv(258, 77%, 70%)
CMYKcmyk(53.6%, 76.5%, 0%, 29.8%)
CIE-LABlab(31.23, 50.90, -65.63)
CIE-LCHlch(31.23, 83.05, 307.80°)
OKLaboklab(43% 0.0638 -0.1887)
OKLCHoklch(43% 0.199 288.7)
XYZxyz(12.5295, 6.7490, 43.2816)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AB3 #8AB32A
analogous
#2A45B3 #532AB3 #972AB3
triadic
#532AB3 #B3532A #2AB353
tetradic
#532AB3 #B32A45 #8AB32A #2AB397
square
#532AB3 #B32A45 #8AB32A #2AB397
split-complementary
#532AB3 #B3972A #45B32A
monochromatic
#251350 #3C1E81 #532AB3 #7146D4 #9778DF

Accessibility & contrast

On white

8.94
#532AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#532AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AB3
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AB3#FFFFFF#000000##FFFFFF
##532AB31.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#2D516D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532ab3;
/* rgb */ color: rgb(83, 42, 179);
/* oklch */ color: oklch(43.0% 0.199 288.7);
Tailwind
colors: {
  custom: {
    50: '#8e68cb',
    500: '#532ab3',
    950: '#000000',
  },
}
SCSS
$custom: #532ab3;
$custom-light: #8e68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#532ab3",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 257.956,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.19923,
    "h": 288.7
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#532AB3
secondary
#AEC772
accent
#E543B4
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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