#532AD4#532AD4

#532AD4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.236 H 283.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#532AD4
RGBrgb(83, 42, 212)
HSLhsl(254, 67%, 50%)
HSVhsv(254, 80%, 83%)
CMYKcmyk(60.8%, 80.2%, 0%, 16.9%)
CIE-LABlab(34.49, 60.01, -79.61)
CIE-LCHlch(34.49, 99.69, 307.01°)
OKLaboklab(46.25% 0.054 -0.2296)
OKLCHoklch(46.25% 0.236 283.2)
XYZxyz(16.2752, 8.2473, 63.0088)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AD4 #ABD42A
analogous
#2A56D4 #532AD4 #A82AD4
triadic
#532AD4 #D4532A #2AD453
tetradic
#532AD4 #D42A56 #ABD42A #2AD4A8
square
#532AD4 #D42A56 #ABD42A #2AD4A8
split-complementary
#532AD4 #D4A82A #56D42A
monochromatic
#2B166E #3F20A1 #532AD4 #7C5CDF #A58FE9

Accessibility & contrast

On white

7.93
#532AD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#532AD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AD4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AD4#FFFFFF#000000##FFFFFF
##532AD41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#004BD1
Tritanopia (blue-blind)
#005E80
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #532ad4;
/* rgb */ color: rgb(83, 42, 212);
/* oklch */ color: oklch(46.3% 0.236 283.2);
Tailwind
colors: {
  custom: {
    50: '#936ae3',
    500: '#532ad4',
    950: '#000000',
  },
}
SCSS
$custom: #532ad4;
$custom-light: #936ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#532ad4",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 212
  },
  "hsl": {
    "h": 254.471,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.23582,
    "h": 283.2
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#532AD4
secondary
#C1D386
accent
#EA3EC0
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #532AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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