#532EB4#532EB4

#532EB4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.196 H 287.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#532EB4
RGBrgb(83, 46, 180)
HSLhsl(257, 59%, 44%)
HSVhsv(257, 74%, 71%)
CMYKcmyk(53.9%, 74.4%, 0%, 29.4%)
CIE-LABlab(32.01, 49.23, -64.94)
CIE-LCHlch(32.01, 81.50, 307.17°)
OKLaboklab(43.58% 0.0605 -0.1868)
OKLCHoklch(43.58% 0.196 287.9)
XYZxyz(12.7801, 7.0876, 43.8658)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EB4 #8FB42E
analogous
#2E4CB4 #532EB4 #962EB4
triadic
#532EB4 #B4532E #2EB453
tetradic
#532EB4 #B42E4C #8FB42E #2EB496
square
#532EB4 #B42E4C #8FB42E #2EB496
split-complementary
#532EB4 #B4962E #4CB42E
monochromatic
#261553 #3D2283 #532EB4 #724ED2 #997EDE

Accessibility & contrast

On white

8.69
#532EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#532EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EB4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EB4#FFFFFF#000000##FFFFFF
##532EB41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#2C536F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532eb4;
/* rgb */ color: rgb(83, 46, 180);
/* oklch */ color: oklch(43.6% 0.196 287.9);
Tailwind
colors: {
  custom: {
    50: '#8e6bcc',
    500: '#532eb4',
    950: '#000000',
  },
}
SCSS
$custom: #532eb4;
$custom-light: #8e6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#532eb4",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 256.567,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43577,
    "c": 0.19632,
    "h": 287.9
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#532EB4
secondary
#B1C777
accent
#E245B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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