#532EC3#532EC3

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

Color values

HEX#532EC3
RGBrgb(83, 46, 195)
HSLhsl(255, 62%, 47%)
HSVhsv(255, 76%, 76%)
CMYKcmyk(57.4%, 76.4%, 0%, 23.5%)
CIE-LABlab(33.42, 53.48, -71.48)
CIE-LCHlch(33.42, 89.27, 306.81°)
OKLaboklab(45% 0.0566 -0.2059)
OKLCHoklch(45% 0.214 285.4)
XYZxyz(14.3916, 7.7323, 52.3533)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EC3 #9EC32E
analogous
#2E54C3 #532EC3 #9D2EC3
triadic
#532EC3 #C3532E #2EC353
tetradic
#532EC3 #C32E54 #9EC32E #2EC39D
square
#532EC3 #C32E54 #9EC32E #2EC39D
split-complementary
#532EC3 #C39D2E #54C32E
monochromatic
#291760 #3E2291 #532EC3 #7757D7 #9F88E3

Accessibility & contrast

On white

8.25
#532EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#532EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EC3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EC3#FFFFFF#000000##FFFFFF
##532EC31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#185977
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #532ec3;
/* rgb */ color: rgb(83, 46, 195);
/* oklch */ color: oklch(45.0% 0.214 285.4);
Tailwind
colors: {
  custom: {
    50: '#906bd6',
    500: '#532ec3',
    950: '#000000',
  },
}
SCSS
$custom: #532ec3;
$custom-light: #906bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#532ec3",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 254.899,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.21351,
    "h": 285.4
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#532EC3
secondary
#BACD80
accent
#E543BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #532EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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