#532EC2#532EC2

#532EC2 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.212 H 285.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#532EC2
RGBrgb(83, 46, 194)
HSLhsl(255, 62%, 47%)
HSVhsv(255, 76%, 76%)
CMYKcmyk(57.2%, 76.3%, 0%, 23.9%)
CIE-LABlab(33.32, 53.20, -71.05)
CIE-LCHlch(33.32, 88.76, 306.83°)
OKLaboklab(44.9% 0.0569 -0.2046)
OKLCHoklch(44.9% 0.212 285.5)
XYZxyz(14.2789, 7.6872, 51.7598)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EC2 #9DC22E
analogous
#2E53C2 #532EC2 #9D2EC2
triadic
#532EC2 #C2532E #2EC253
tetradic
#532EC2 #C22E53 #9DC22E #2EC29D
square
#532EC2 #C22E53 #9DC22E #2EC29D
split-complementary
#532EC2 #C29D2E #53C22E
monochromatic
#29175F #3E2291 #532EC2 #7656D7 #9E88E3

Accessibility & contrast

On white

8.28
#532EC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532EC2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EC2#FFFFFF#000000##FFFFFF
##532EC21.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#1A5877
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #532ec2;
/* rgb */ color: rgb(83, 46, 194);
/* oklch */ color: oklch(44.9% 0.212 285.5);
Tailwind
colors: {
  custom: {
    50: '#906bd6',
    500: '#532ec2',
    950: '#000000',
  },
}
SCSS
$custom: #532ec2;
$custom-light: #906bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#532ec2",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 194
  },
  "hsl": {
    "h": 255,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.21238,
    "h": 285.5
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#532EC2
secondary
#B9CC7F
accent
#E543BC
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #532EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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