#532CB3#532CB3

#532CB3 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.197 H 288.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#532CB3
RGBrgb(83, 44, 179)
HSLhsl(257, 61%, 44%)
HSVhsv(257, 75%, 70%)
CMYKcmyk(53.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(31.57, 49.94, -65.07)
CIE-LCHlch(31.57, 82.03, 307.50°)
OKLaboklab(43.24% 0.0623 -0.1871)
OKLCHoklch(43.24% 0.197 288.4)
XYZxyz(12.6023, 6.8944, 43.3058)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532CB3 #8CB32C
analogous
#2C49B3 #532CB3 #962CB3
triadic
#532CB3 #B3532C #2CB353
tetradic
#532CB3 #B32C49 #8CB32C #2CB396
square
#532CB3 #B32C49 #8CB32C #2CB396
split-complementary
#532CB3 #B3962C #49B32C
monochromatic
#251451 #3C2082 #532CB3 #714AD2 #987BDF

Accessibility & contrast

On white

8.83
#532CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#532CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532CB3
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532CB3#FFFFFF#000000##FFFFFF
##532CB31.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#2D516E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532cb3;
/* rgb */ color: rgb(83, 44, 179);
/* oklch */ color: oklch(43.2% 0.197 288.4);
Tailwind
colors: {
  custom: {
    50: '#8e6acb',
    500: '#532cb3',
    950: '#000000',
  },
}
SCSS
$custom: #532cb3;
$custom-light: #8e6acb;
$custom-dark: #000000;
JSON
{
  "hex": "#532cb3",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 257.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43239,
    "c": 0.19723,
    "h": 288.4
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#532CB3
secondary
#AFC774
accent
#E444B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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