#532EA2#532EA2

#532EA2 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.9% C 0.175 H 291.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#532EA2
RGBrgb(83, 46, 162)
HSLhsl(259, 56%, 41%)
HSVhsv(259, 72%, 64%)
CMYKcmyk(48.8%, 71.6%, 0%, 36.5%)
CIE-LABlab(30.40, 44.12, -56.77)
CIE-LCHlch(30.40, 71.90, 307.85°)
OKLaboklab(41.95% 0.0646 -0.1628)
OKLCHoklch(41.95% 0.175 291.6)
XYZxyz(11.0640, 6.4012, 34.8280)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EA2 #7DA22E
analogous
#2E43A2 #532EA2 #8D2EA2
triadic
#532EA2 #A2532E #2EA253
tetradic
#532EA2 #A22E43 #7DA22E #2EA28D
square
#532EA2 #A22E43 #7DA22E #2EA28D
split-complementary
#532EA2 #A28D2E #43A22E
monochromatic
#221343 #3B2072 #532EA2 #6E43CA #9373D7

Accessibility & contrast

On white

9.21
#532EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#532EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EA2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EA2#FFFFFF#000000##FFFFFF
##532EA21.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#3A4C65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532ea2;
/* rgb */ color: rgb(83, 46, 162);
/* oklch */ color: oklch(41.9% 0.175 291.6);
Tailwind
colors: {
  custom: {
    50: '#8b6abe',
    500: '#532ea2',
    950: '#000000',
  },
}
SCSS
$custom: #532ea2;
$custom-light: #8b6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#532ea2",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 259.138,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.17513,
    "h": 291.6
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#532EA2
secondary
#A5BF6D
accent
#DF49AF
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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