#532DC4#532DC4

#532DC4 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.216 H 285.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#532DC4
RGBrgb(83, 45, 196)
HSLhsl(255, 63%, 47%)
HSVhsv(255, 77%, 77%)
CMYKcmyk(57.7%, 77%, 0%, 23.1%)
CIE-LABlab(33.35, 54.24, -72.18)
CIE-LCHlch(33.35, 90.29, 306.92°)
OKLaboklab(44.98% 0.057 -0.2079)
OKLCHoklch(44.98% 0.216 285.3)
XYZxyz(14.4664, 7.7004, 52.9379)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DC4 #9EC42D
analogous
#2D53C4 #532DC4 #9E2DC4
triadic
#532DC4 #C4532D #2DC453
tetradic
#532DC4 #C42D53 #9EC42D #2DC49E
square
#532DC4 #C42D53 #9EC42D #2DC49E
split-complementary
#532DC4 #C49E2D #53C42D
monochromatic
#291660 #3E2292 #532DC4 #7756D8 #9F88E4

Accessibility & contrast

On white

8.27
#532DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#532DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DC4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DC4#FFFFFF#000000##FFFFFF
##532DC41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#165978
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #532dc4;
/* rgb */ color: rgb(83, 45, 196);
/* oklch */ color: oklch(45.0% 0.216 285.3);
Tailwind
colors: {
  custom: {
    50: '#906bd7',
    500: '#532dc4',
    950: '#000000',
  },
}
SCSS
$custom: #532dc4;
$custom-light: #906bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#532dc4",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 255.099,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.21558,
    "h": 285.3
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#532DC4
secondary
#BACD80
accent
#E642BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #532DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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