#532FB5#532FB5

#532FB5 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.196 H 287.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#532FB5
RGBrgb(83, 47, 181)
HSLhsl(256, 59%, 45%)
HSVhsv(256, 74%, 71%)
CMYKcmyk(54.1%, 74%, 0%, 29%)
CIE-LABlab(32.27, 49.02, -65.10)
CIE-LCHlch(32.27, 81.49, 306.98°)
OKLaboklab(43.79% 0.0595 -0.1872)
OKLCHoklch(43.79% 0.196 287.6)
XYZxyz(12.9218, 7.2076, 44.4174)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB5 #91B52F
analogous
#2F4EB5 #532FB5 #962FB5
triadic
#532FB5 #B5532F #2FB553
tetradic
#532FB5 #B52F4E #91B52F #2FB596
square
#532FB5 #B52F4E #91B52F #2FB596
split-complementary
#532FB5 #B5962F #4EB52F
monochromatic
#261654 #3D2284 #532FB5 #7350D1 #9980DE

Accessibility & contrast

On white

8.60
#532FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#532FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB5
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB5#FFFFFF#000000##FFFFFF
##532FB51.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#2B546F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #532fb5;
/* rgb */ color: rgb(83, 47, 181);
/* oklch */ color: oklch(43.8% 0.196 287.6);
Tailwind
colors: {
  custom: {
    50: '#8e6bcc',
    500: '#532fb5',
    950: '#000000',
  },
}
SCSS
$custom: #532fb5;
$custom-light: #8e6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb5",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 256.119,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43794,
    "c": 0.19644,
    "h": 287.6
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#532FB5
secondary
#B2C779
accent
#E246B8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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