#532FB6#532FB6

#532FB6 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.198 H 287.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#532FB6
RGBrgb(83, 47, 182)
HSLhsl(256, 59%, 45%)
HSVhsv(256, 74%, 71%)
CMYKcmyk(54.4%, 74.2%, 0%, 28.6%)
CIE-LABlab(32.37, 49.30, -65.54)
CIE-LCHlch(32.37, 82.01, 306.95°)
OKLaboklab(43.89% 0.0592 -0.1885)
OKLCHoklch(43.89% 0.198 287.4)
XYZxyz(13.0248, 7.2488, 44.9597)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FB6 #92B62F
analogous
#2F4FB6 #532FB6 #972FB6
triadic
#532FB6 #B6532F #2FB653
tetradic
#532FB6 #B62F4F #92B62F #2FB697
square
#532FB6 #B62F4F #92B62F #2FB697
split-complementary
#532FB6 #B6972F #4FB62F
monochromatic
#271655 #3D2285 #532FB6 #7350D2 #9A81DE

Accessibility & contrast

On white

8.57
#532FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#532FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FB6
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FB6#FFFFFF#000000##FFFFFF
##532FB61.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#2A5470
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #532fb6;
/* rgb */ color: rgb(83, 47, 182);
/* oklch */ color: oklch(43.9% 0.198 287.4);
Tailwind
colors: {
  custom: {
    50: '#8e6bcd',
    500: '#532fb6',
    950: '#000000',
  },
}
SCSS
$custom: #532fb6;
$custom-light: #8e6bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#532fb6",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 256,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.1976,
    "h": 287.4
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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