#532FA4#532FA4

#532FA4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.176 H 291.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#532FA4
RGBrgb(83, 47, 164)
HSLhsl(258, 55%, 41%)
HSVhsv(258, 71%, 64%)
CMYKcmyk(49.4%, 71.3%, 0%, 35.7%)
CIE-LABlab(30.76, 44.16, -57.39)
CIE-LCHlch(30.76, 72.42, 307.58°)
OKLaboklab(42.26% 0.0632 -0.1646)
OKLCHoklch(42.26% 0.176 291)
XYZxyz(11.2827, 6.5519, 35.7849)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA4 #80A42F
analogous
#2F46A4 #532FA4 #8E2FA4
triadic
#532FA4 #A4532F #2FA453
tetradic
#532FA4 #A42F46 #80A42F #2FA48E
square
#532FA4 #A42F46 #80A42F #2FA48E
split-complementary
#532FA4 #A48E2F #46A42F
monochromatic
#231445 #3B2174 #532FA4 #6F46CA #9476D8

Accessibility & contrast

On white

9.09
#532FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#532FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FA4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA4#FFFFFF#000000##FFFFFF
##532FA41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#384D66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532fa4;
/* rgb */ color: rgb(83, 47, 164);
/* oklch */ color: oklch(42.3% 0.176 291.0);
Tailwind
colors: {
  custom: {
    50: '#8b6bc0',
    500: '#532fa4',
    950: '#000000',
  },
}
SCSS
$custom: #532fa4;
$custom-light: #8b6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa4",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 258.462,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.17634,
    "h": 291
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#532FA4
secondary
#A7C06F
accent
#DF49B1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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