#532BB4#532BB4

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

Color values

HEX#532BB4
RGBrgb(83, 43, 180)
HSLhsl(258, 61%, 44%)
HSVhsv(258, 76%, 71%)
CMYKcmyk(53.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(31.49, 50.70, -65.79)
CIE-LCHlch(31.49, 83.06, 307.62°)
OKLaboklab(43.21% 0.0628 -0.1892)
OKLCHoklch(43.21% 0.199 288.4)
XYZxyz(12.6670, 6.8614, 43.8281)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BB4 #8CB42B
analogous
#2B47B4 #532BB4 #972BB4
triadic
#532BB4 #B4532B #2BB453
tetradic
#532BB4 #B42B47 #8CB42B #2BB497
square
#532BB4 #B42B47 #8CB42B #2BB497
split-complementary
#532BB4 #B4972B #47B42B
monochromatic
#251351 #3C1F83 #532BB4 #7149D3 #987ADF

Accessibility & contrast

On white

8.85
#532BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#532BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BB4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BB4#FFFFFF#000000##FFFFFF
##532BB41.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#2C516E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #532bb4;
/* rgb */ color: rgb(83, 43, 180);
/* oklch */ color: oklch(43.2% 0.199 288.4);
Tailwind
colors: {
  custom: {
    50: '#8e69cc',
    500: '#532bb4',
    950: '#000000',
  },
}
SCSS
$custom: #532bb4;
$custom-light: #8e69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#532bb4",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 257.518,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43214,
    "c": 0.19938,
    "h": 288.4
  },
  "luminance": 0.06862
}

Semantic roles & 50–950 ramp

primary
#532BB4
secondary
#AFC773
accent
#E543B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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