#532EA8#532EA8

#532EA8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.182 H 290.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#532EA8
RGBrgb(83, 46, 168)
HSLhsl(258, 57%, 42%)
HSVhsv(258, 73%, 66%)
CMYKcmyk(50.6%, 72.6%, 0%, 34.1%)
CIE-LABlab(30.93, 45.82, -59.54)
CIE-LCHlch(30.93, 75.13, 307.58°)
OKLaboklab(42.48% 0.0633 -0.1709)
OKLCHoklch(42.48% 0.182 290.3)
XYZxyz(11.6101, 6.6197, 37.7042)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EA8 #83A82E
analogous
#2E46A8 #532EA8 #902EA8
triadic
#532EA8 #A8532E #2EA853
tetradic
#532EA8 #A82E46 #83A82E #2EA890
square
#532EA8 #A82E46 #83A82E #2EA890
split-complementary
#532EA8 #A8902E #46A82E
monochromatic
#241448 #3B2178 #532EA8 #6F47CD #9577DA

Accessibility & contrast

On white

9.04
#532EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#532EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EA8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EA8#FFFFFF#000000##FFFFFF
##532EA81.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#364E68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532ea8;
/* rgb */ color: rgb(83, 46, 168);
/* oklch */ color: oklch(42.5% 0.182 290.3);
Tailwind
colors: {
  custom: {
    50: '#8c6ac3',
    500: '#532ea8',
    950: '#000000',
  },
}
SCSS
$custom: #532ea8;
$custom-light: #8c6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#532ea8",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 258.197,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.18227,
    "h": 290.3
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#532EA8
secondary
#A9C270
accent
#E048B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #532EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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