#532FA7#532FA7

#532FA7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.180 H 290.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#532FA7
RGBrgb(83, 47, 167)
HSLhsl(258, 56%, 42%)
HSVhsv(258, 72%, 65%)
CMYKcmyk(50.3%, 71.9%, 0%, 34.5%)
CIE-LABlab(31.02, 45.02, -58.78)
CIE-LCHlch(31.02, 74.04, 307.45°)
OKLaboklab(42.53% 0.0626 -0.1687)
OKLCHoklch(42.53% 0.18 290.4)
XYZxyz(11.5569, 6.6616, 37.2286)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532FA7 #83A72F
analogous
#2F47A7 #532FA7 #8F2FA7
triadic
#532FA7 #A7532F #2FA753
tetradic
#532FA7 #A72F47 #83A72F #2FA78F
square
#532FA7 #A72F47 #83A72F #2FA78F
split-complementary
#532FA7 #A78F2F #47A72F
monochromatic
#241447 #3B2277 #532FA7 #6F48CB #9578D9

Accessibility & contrast

On white

9.00
#532FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532FA7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532FA7#FFFFFF#000000##FFFFFF
##532FA71.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#364E68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532fa7;
/* rgb */ color: rgb(83, 47, 167);
/* oklch */ color: oklch(42.5% 0.180 290.4);
Tailwind
colors: {
  custom: {
    50: '#8c6bc2',
    500: '#532fa7',
    950: '#000000',
  },
}
SCSS
$custom: #532fa7;
$custom-light: #8c6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#532fa7",
  "rgb": {
    "r": 83,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 258,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.17993,
    "h": 290.4
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#532FA7
secondary
#A9C171
accent
#DF48B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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