#532DA4#532DA4

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

Color values

HEX#532DA4
RGBrgb(83, 45, 164)
HSLhsl(259, 57%, 41%)
HSVhsv(259, 73%, 64%)
CMYKcmyk(49.4%, 72.6%, 0%, 35.7%)
CIE-LABlab(30.39, 45.21, -58.00)
CIE-LCHlch(30.39, 73.54, 307.93°)
OKLaboklab(41.99% 0.0651 -0.1664)
OKLCHoklch(41.99% 0.179 291.4)
XYZxyz(11.2046, 6.3957, 35.7589)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532DA4 #7EA42D
analogous
#2D42A4 #532DA4 #8E2DA4
triadic
#532DA4 #A4532D #2DA453
tetradic
#532DA4 #A42D42 #7EA42D #2DA48E
square
#532DA4 #A42D42 #7EA42D #2DA48E
split-complementary
#532DA4 #A48E2D #42A42D
monochromatic
#221344 #3B2074 #532DA4 #6E43CB #9373D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##532DA4#FFFFFF#000000##FFFFFF
##532DA41.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)
#0049A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#384C65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532da4;
/* rgb */ color: rgb(83, 45, 164);
/* oklch */ color: oklch(42.0% 0.179 291.4);
Tailwind
colors: {
  custom: {
    50: '#8b69c0',
    500: '#532da4',
    950: '#000000',
  },
}
SCSS
$custom: #532da4;
$custom-light: #8b69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#532da4",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 259.16,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.17868,
    "h": 291.4
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#532DA4
secondary
#A5C06D
accent
#E048AF
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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