#532EB7#532EB7

#532EB7 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.200 H 287.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#532EB7
RGBrgb(83, 46, 183)
HSLhsl(256, 60%, 45%)
HSVhsv(256, 75%, 72%)
CMYKcmyk(54.6%, 74.9%, 0%, 28.2%)
CIE-LABlab(32.28, 50.09, -66.27)
CIE-LCHlch(32.28, 83.07, 307.08°)
OKLaboklab(43.86% 0.0598 -0.1906)
OKLCHoklch(43.86% 0.2 287.4)
XYZxyz(13.0890, 7.2112, 45.4928)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EB7 #92B72E
analogous
#2E4EB7 #532EB7 #972EB7
triadic
#532EB7 #B7532E #2EB753
tetradic
#532EB7 #B72E4E #92B72E #2EB797
square
#532EB7 #B72E4E #92B72E #2EB797
split-complementary
#532EB7 #B7972E #4EB72E
monochromatic
#271555 #3D2286 #532EB7 #734FD3 #9A80DF

Accessibility & contrast

On white

8.60
#532EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#532EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EB7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EB7#FFFFFF#000000##FFFFFF
##532EB71.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#295470
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #532eb7;
/* rgb */ color: rgb(83, 46, 183);
/* oklch */ color: oklch(43.9% 0.200 287.4);
Tailwind
colors: {
  custom: {
    50: '#8e6bce',
    500: '#532eb7',
    950: '#000000',
  },
}
SCSS
$custom: #532eb7;
$custom-light: #8e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#532eb7",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 256.204,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.19979,
    "h": 287.4
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#532EB7
secondary
#B3C879
accent
#E345B8
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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