#532EB5#532EB5

#532EB5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.197 H 287.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#532EB5
RGBrgb(83, 46, 181)
HSLhsl(256, 59%, 45%)
HSVhsv(256, 75%, 71%)
CMYKcmyk(54.1%, 74.6%, 0%, 29%)
CIE-LABlab(32.10, 49.52, -65.39)
CIE-LCHlch(32.10, 82.02, 307.14°)
OKLaboklab(43.67% 0.0603 -0.1881)
OKLCHoklch(43.67% 0.197 287.8)
XYZxyz(12.8823, 7.1285, 44.4042)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EB5 #90B52E
analogous
#2E4DB5 #532EB5 #962EB5
triadic
#532EB5 #B5532E #2EB553
tetradic
#532EB5 #B52E4D #90B52E #2EB596
square
#532EB5 #B52E4D #90B52E #2EB596
split-complementary
#532EB5 #B5962E #4DB52E
monochromatic
#261553 #3D2284 #532EB5 #724ED2 #997FDE

Accessibility & contrast

On white

8.66
#532EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#532EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EB5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EB5#FFFFFF#000000##FFFFFF
##532EB51.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#2B536F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532eb5;
/* rgb */ color: rgb(83, 46, 181);
/* oklch */ color: oklch(43.7% 0.197 287.8);
Tailwind
colors: {
  custom: {
    50: '#8e6bcc',
    500: '#532eb5',
    950: '#000000',
  },
}
SCSS
$custom: #532eb5;
$custom-light: #8e6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#532eb5",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 256.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.19748,
    "h": 287.8
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#532EB5
secondary
#B1C778
accent
#E345B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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