#532BB5#532BB5

#532BB5 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.3% C 0.201 H 288.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#532BB5
RGBrgb(83, 43, 181)
HSLhsl(257, 62%, 44%)
HSVhsv(257, 76%, 71%)
CMYKcmyk(54.1%, 76.2%, 0%, 29%)
CIE-LABlab(31.58, 50.98, -66.23)
CIE-LCHlch(31.58, 83.58, 307.59°)
OKLaboklab(43.31% 0.0626 -0.1905)
OKLCHoklch(43.31% 0.201 288.2)
XYZxyz(12.7692, 6.9023, 44.3665)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BB5 #8DB52B
analogous
#2B48B5 #532BB5 #982BB5
triadic
#532BB5 #B5532B #2BB553
tetradic
#532BB5 #B52B48 #8DB52B #2BB598
square
#532BB5 #B52B48 #8DB52B #2BB598
split-complementary
#532BB5 #B5982B #48B52B
monochromatic
#261452 #3C1F84 #532BB5 #7149D4 #987BE0

Accessibility & contrast

On white

8.82
#532BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532BB5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BB5#FFFFFF#000000##FFFFFF
##532BB51.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#2B526F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532bb5;
/* rgb */ color: rgb(83, 43, 181);
/* oklch */ color: oklch(43.3% 0.201 288.2);
Tailwind
colors: {
  custom: {
    50: '#8e69cc',
    500: '#532bb5',
    950: '#000000',
  },
}
SCSS
$custom: #532bb5;
$custom-light: #8e69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#532bb5",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 257.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.20052,
    "h": 288.2
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#532BB5
secondary
#B0C874
accent
#E543B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #532BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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