#532CD4#532CD4

#532CD4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.234 H 283.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#532CD4
RGBrgb(83, 44, 212)
HSLhsl(254, 66%, 50%)
HSVhsv(254, 79%, 83%)
CMYKcmyk(60.8%, 79.2%, 0%, 16.9%)
CIE-LABlab(34.79, 59.15, -79.12)
CIE-LCHlch(34.79, 98.79, 306.78°)
OKLaboklab(46.46% 0.0529 -0.2282)
OKLCHoklch(46.46% 0.234 283.1)
XYZxyz(16.3479, 8.3927, 63.0331)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CD4 #ADD42C
analogous
#2C59D4 #532CD4 #A72CD4
triadic
#532CD4 #D4532C #2CD453
tetradic
#532CD4 #D42C59 #ADD42C #2CD4A7
square
#532CD4 #D42C59 #ADD42C #2CD4A7
split-complementary
#532CD4 #D4A72C #59D42C
monochromatic
#2B176F #3F21A2 #532CD4 #7C5FDE #A692E9

Accessibility & contrast

On white

7.84
#532CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#532CD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CD4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CD4#FFFFFF#000000##FFFFFF
##532CD41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#004CD1
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #532cd4;
/* rgb */ color: rgb(83, 44, 212);
/* oklch */ color: oklch(46.5% 0.234 283.1);
Tailwind
colors: {
  custom: {
    50: '#936be3',
    500: '#532cd4',
    950: '#000000',
  },
}
SCSS
$custom: #532cd4;
$custom-light: #936be3;
$custom-dark: #000000;
JSON
{
  "hex": "#532cd4",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 253.929,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.23422,
    "h": 283.1
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#532CD4
secondary
#C2D388
accent
#E93FC2
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #532CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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