#532FA6#532FA6

#532FA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.179 H 290.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#532FA6
RGBrgb(83, 47, 166)
HSLhsl(258, 56%, 42%)
HSVhsv(258, 72%, 65%)
CMYKcmyk(50%, 71.7%, 0%, 34.9%)
CIE-LABlab(30.94, 44.73, -58.32)
CIE-LCHlch(30.94, 73.50, 307.49°)
OKLaboklab(42.44% 0.0628 -0.1673)
OKLCHoklch(42.44% 0.179 290.6)
XYZxyz(11.4648, 6.6247, 36.7436)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA6 #82A62F
analogous
#2F47A6 #532FA6 #8F2FA6
triadic
#532FA6 #A6532F #2FA653
tetradic
#532FA6 #A62F47 #82A62F #2FA68F
square
#532FA6 #A62F47 #82A62F #2FA68F
split-complementary
#532FA6 #A68F2F #47A62F
monochromatic
#231447 #3B2176 #532FA6 #6F47CB #9477D8

Accessibility & contrast

On white

9.03
#532FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#532FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FA6
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA6#FFFFFF#000000##FFFFFF
##532FA61.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#374E67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532fa6;
/* rgb */ color: rgb(83, 47, 166);
/* oklch */ color: oklch(42.4% 0.179 290.6);
Tailwind
colors: {
  custom: {
    50: '#8b6bc1',
    500: '#532fa6',
    950: '#000000',
  },
}
SCSS
$custom: #532fa6;
$custom-light: #8b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa6",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 258.151,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.17874,
    "h": 290.6
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#532FA6
secondary
#A8C170
accent
#DF49B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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