#532BB2#532BB2

#532BB2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.197 H 288.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#532BB2
RGBrgb(83, 43, 178)
HSLhsl(258, 61%, 43%)
HSVhsv(258, 76%, 70%)
CMYKcmyk(53.4%, 75.8%, 0%, 30.2%)
CIE-LABlab(31.30, 50.14, -64.91)
CIE-LCHlch(31.30, 82.02, 307.69°)
OKLaboklab(43.03% 0.0634 -0.1866)
OKLCHoklch(43.03% 0.197 288.8)
XYZxyz(12.4647, 6.7805, 42.7628)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BB2 #8AB22B
analogous
#2B46B2 #532BB2 #962BB2
triadic
#532BB2 #B2532B #2BB253
tetradic
#532BB2 #B22B46 #8AB22B #2BB296
square
#532BB2 #B22B46 #8AB22B #2BB296
split-complementary
#532BB2 #B2962B #46B22B
monochromatic
#25134F #3C1F81 #532BB2 #7148D3 #9779DF

Accessibility & contrast

On white

8.91
#532BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#532BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BB2
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BB2#FFFFFF#000000##FFFFFF
##532BB21.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#2E516D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532bb2;
/* rgb */ color: rgb(83, 43, 178);
/* oklch */ color: oklch(43.0% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#8d69ca',
    500: '#532bb2',
    950: '#000000',
  },
}
SCSS
$custom: #532bb2;
$custom-light: #8d69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#532bb2",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 257.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43025,
    "c": 0.1971,
    "h": 288.8
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#532BB2
secondary
#AEC772
accent
#E444B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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