#532EB8#532EB8

#532EB8 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.201 H 287.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#532EB8
RGBrgb(83, 46, 184)
HSLhsl(256, 60%, 45%)
HSVhsv(256, 75%, 72%)
CMYKcmyk(54.9%, 75%, 0%, 27.8%)
CIE-LABlab(32.38, 50.37, -66.71)
CIE-LCHlch(32.38, 83.59, 307.05°)
OKLaboklab(43.95% 0.0595 -0.1919)
OKLCHoklch(43.95% 0.201 287.2)
XYZxyz(13.1934, 7.2530, 46.0429)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EB8 #93B82E
analogous
#2E4EB8 #532EB8 #982EB8
triadic
#532EB8 #B8532E #2EB853
tetradic
#532EB8 #B82E4E #93B82E #2EB898
square
#532EB8 #B82E4E #93B82E #2EB898
split-complementary
#532EB8 #B8982E #4EB82E
monochromatic
#271656 #3D2287 #532EB8 #7350D3 #9A81DF

Accessibility & contrast

On white

8.57
#532EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#532EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EB8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EB8#FFFFFF#000000##FFFFFF
##532EB81.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#285471
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #532eb8;
/* rgb */ color: rgb(83, 46, 184);
/* oklch */ color: oklch(44.0% 0.201 287.2);
Tailwind
colors: {
  custom: {
    50: '#8e6bce',
    500: '#532eb8',
    950: '#000000',
  },
}
SCSS
$custom: #532eb8;
$custom-light: #8e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#532eb8",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 256.087,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.20095,
    "h": 287.2
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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