#532FA2#532FA2

#532FA2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.174 H 291.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#532FA2
RGBrgb(83, 47, 162)
HSLhsl(259, 55%, 41%)
HSVhsv(259, 71%, 64%)
CMYKcmyk(48.8%, 71%, 0%, 36.5%)
CIE-LABlab(30.59, 43.59, -56.46)
CIE-LCHlch(30.59, 71.33, 307.67°)
OKLaboklab(42.09% 0.0636 -0.1619)
OKLCHoklch(42.09% 0.174 291.4)
XYZxyz(11.1035, 6.4803, 34.8412)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA2 #7EA22F
analogous
#2F44A2 #532FA2 #8C2FA2
triadic
#532FA2 #A2532F #2FA253
tetradic
#532FA2 #A22F44 #7EA22F #2FA28C
square
#532FA2 #A22F44 #7EA22F #2FA28C
split-complementary
#532FA2 #A28C2F #44A22F
monochromatic
#221343 #3B2173 #532FA2 #6E45C9 #9375D7

Accessibility & contrast

On white

9.15
#532FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#532FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532FA2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA2#FFFFFF#000000##FFFFFF
##532FA21.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#3A4C65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532fa2;
/* rgb */ color: rgb(83, 47, 162);
/* oklch */ color: oklch(42.1% 0.174 291.4);
Tailwind
colors: {
  custom: {
    50: '#8b6bbe',
    500: '#532fa2',
    950: '#000000',
  },
}
SCSS
$custom: #532fa2;
$custom-light: #8b6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa2",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 258.783,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.17395,
    "h": 291.4
  },
  "luminance": 0.06481
}

Semantic roles & 50–950 ramp

primary
#532FA2
secondary
#A5BF6E
accent
#DE49B0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #532FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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