#532EB2#532EB2

#532EB2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.194 H 288.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#532EB2
RGBrgb(83, 46, 178)
HSLhsl(257, 59%, 44%)
HSVhsv(257, 74%, 70%)
CMYKcmyk(53.4%, 74.2%, 0%, 30.2%)
CIE-LABlab(31.82, 48.67, -64.06)
CIE-LCHlch(31.82, 80.45, 307.23°)
OKLaboklab(43.39% 0.061 -0.1842)
OKLCHoklch(43.39% 0.194 288.3)
XYZxyz(12.5778, 7.0067, 42.8005)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EB2 #8DB22E
analogous
#2E4BB2 #532EB2 #952EB2
triadic
#532EB2 #B2532E #2EB253
tetradic
#532EB2 #B22E4B #8DB22E #2EB295
square
#532EB2 #B22E4B #8DB22E #2EB295
split-complementary
#532EB2 #B2952E #4BB22E
monochromatic
#261551 #3C2181 #532EB2 #714CD1 #987DDD

Accessibility & contrast

On white

8.74
#532EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#532EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EB2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EB2#FFFFFF#000000##FFFFFF
##532EB21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#2E526E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532eb2;
/* rgb */ color: rgb(83, 46, 178);
/* oklch */ color: oklch(43.4% 0.194 288.3);
Tailwind
colors: {
  custom: {
    50: '#8d6bca',
    500: '#532eb2',
    950: '#000000',
  },
}
SCSS
$custom: #532eb2;
$custom-light: #8d6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#532eb2",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 256.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.194,
    "h": 288.3
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#532EB2
secondary
#B0C676
accent
#E246B6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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