#532EB3#532EB3

#532EB3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.195 H 288.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#532EB3
RGBrgb(83, 46, 179)
HSLhsl(257, 59%, 44%)
HSVhsv(257, 74%, 70%)
CMYKcmyk(53.6%, 74.3%, 0%, 29.8%)
CIE-LABlab(31.91, 48.95, -64.50)
CIE-LCHlch(31.91, 80.97, 307.20°)
OKLaboklab(43.48% 0.0607 -0.1855)
OKLCHoklch(43.48% 0.195 288.1)
XYZxyz(12.6786, 7.0470, 43.3312)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EB3 #8EB32E
analogous
#2E4CB3 #532EB3 #962EB3
triadic
#532EB3 #B3532E #2EB353
tetradic
#532EB3 #B32E4C #8EB32E #2EB396
square
#532EB3 #B32E4C #8EB32E #2EB396
split-complementary
#532EB3 #B3962E #4CB32E
monochromatic
#261552 #3C2182 #532EB3 #724DD1 #987EDE

Accessibility & contrast

On white

8.72
#532EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#532EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EB3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EB3#FFFFFF#000000##FFFFFF
##532EB31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#2D526E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #532eb3;
/* rgb */ color: rgb(83, 46, 179);
/* oklch */ color: oklch(43.5% 0.195 288.1);
Tailwind
colors: {
  custom: {
    50: '#8d6bcb',
    500: '#532eb3',
    950: '#000000',
  },
}
SCSS
$custom: #532eb3;
$custom-light: #8d6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#532eb3",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 256.692,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.19515,
    "h": 288.1
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#532EB3
secondary
#B0C676
accent
#E246B7
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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