#532FA5#532FA5

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

Color values

HEX#532FA5
RGBrgb(83, 47, 165)
HSLhsl(258, 56%, 42%)
HSVhsv(258, 72%, 65%)
CMYKcmyk(49.7%, 71.5%, 0%, 35.3%)
CIE-LABlab(30.85, 44.45, -57.85)
CIE-LCHlch(30.85, 72.96, 307.53°)
OKLaboklab(42.35% 0.063 -0.166)
OKLCHoklch(42.35% 0.178 290.8)
XYZxyz(11.3734, 6.5882, 36.2624)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA5 #81A52F
analogous
#2F46A5 #532FA5 #8E2FA5
triadic
#532FA5 #A5532F #2FA553
tetradic
#532FA5 #A52F46 #81A52F #2FA58E
square
#532FA5 #A52F46 #81A52F #2FA58E
split-complementary
#532FA5 #A58E2F #46A52F
monochromatic
#231446 #3B2175 #532FA5 #6F47CB #9476D8

Accessibility & contrast

On white

9.06
#532FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#532FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FA5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA5#FFFFFF#000000##FFFFFF
##532FA51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#384E67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532fa5;
/* rgb */ color: rgb(83, 47, 165);
/* oklch */ color: oklch(42.3% 0.178 290.8);
Tailwind
colors: {
  custom: {
    50: '#8b6bc1',
    500: '#532fa5',
    950: '#000000',
  },
}
SCSS
$custom: #532fa5;
$custom-light: #8b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa5",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 258.305,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.17754,
    "h": 290.8
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#532FA5
secondary
#A8C070
accent
#DF49B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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