#532F99#532F99

#532F99 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.3% C 0.163 H 293.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#532F99
RGBrgb(83, 47, 153)
HSLhsl(260, 53%, 39%)
HSVhsv(260, 69%, 60%)
CMYKcmyk(45.8%, 69.3%, 0%, 40%)
CIE-LABlab(29.84, 41.03, -52.22)
CIE-LCHlch(29.84, 66.41, 308.16°)
OKLaboklab(41.32% 0.0652 -0.1494)
OKLCHoklch(41.32% 0.163 293.6)
XYZxyz(10.3320, 6.1716, 30.7777)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532F99 #75992F
analogous
#2F4099 #532F99 #882F99
triadic
#532F99 #99532F #2F9953
tetradic
#532F99 #992F40 #75992F #2F9988
square
#532F99 #992F40 #75992F #2F9988
split-complementary
#532F99 #99882F #40992F
monochromatic
#20123B #3A216A #532F99 #6D41C5 #916FD3

Accessibility & contrast

On white

9.40
#532F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#532F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532F99
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532F99#FFFFFF#000000##FFFFFF
##532F991.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#3F4960
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532f99;
/* rgb */ color: rgb(83, 47, 153);
/* oklch */ color: oklch(41.3% 0.163 293.6);
Tailwind
colors: {
  custom: {
    50: '#8a6ab8',
    500: '#532f99',
    950: '#000000',
  },
}
SCSS
$custom: #532f99;
$custom-light: #8a6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#532f99",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 260.377,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.16304,
    "h": 293.6
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#532F99
secondary
#9FBA69
accent
#DC4BAB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #532F99

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

Preview Lab → · Contrast checker → · Palette generator →

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