#532DC2#532DC2

#532DC2 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.213 H 285.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#532DC2
RGBrgb(83, 45, 194)
HSLhsl(255, 62%, 47%)
HSVhsv(255, 77%, 76%)
CMYKcmyk(57.2%, 76.8%, 0%, 23.9%)
CIE-LABlab(33.16, 53.68, -71.32)
CIE-LCHlch(33.16, 89.26, 306.96°)
OKLaboklab(44.79% 0.0575 -0.2054)
OKLCHoklch(44.79% 0.213 285.6)
XYZxyz(14.2403, 7.6100, 51.7470)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DC2 #9CC22D
analogous
#2D52C2 #532DC2 #9E2DC2
triadic
#532DC2 #C2532D #2DC253
tetradic
#532DC2 #C22D52 #9CC22D #2DC29E
square
#532DC2 #C22D52 #9CC22D #2DC29E
split-complementary
#532DC2 #C29E2D #52C22D
monochromatic
#28165F #3E2190 #532DC2 #7655D7 #9E86E3

Accessibility & contrast

On white

8.33
#532DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#532DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532DC2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532DC2#FFFFFF#000000##FFFFFF
##532DC21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#1A5876
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #532dc2;
/* rgb */ color: rgb(83, 45, 194);
/* oklch */ color: oklch(44.8% 0.213 285.6);
Tailwind
colors: {
  custom: {
    50: '#906bd6',
    500: '#532dc2',
    950: '#000000',
  },
}
SCSS
$custom: #532dc2;
$custom-light: #906bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#532dc2",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 255.302,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.21333,
    "h": 285.6
  },
  "luminance": 0.07611
}

Semantic roles & 50–950 ramp

primary
#532DC2
secondary
#B9CD7E
accent
#E542BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #532DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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