#532EA7#532EA7

#532EA7 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.181 H 290.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#532EA7
RGBrgb(83, 46, 167)
HSLhsl(258, 57%, 42%)
HSVhsv(258, 72%, 65%)
CMYKcmyk(50.3%, 72.5%, 0%, 34.5%)
CIE-LABlab(30.84, 45.54, -59.08)
CIE-LCHlch(30.84, 74.60, 307.62°)
OKLaboklab(42.39% 0.0635 -0.1696)
OKLCHoklch(42.39% 0.181 290.5)
XYZxyz(11.5173, 6.5825, 37.2154)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EA7 #82A72E
analogous
#2E46A7 #532EA7 #902EA7
triadic
#532EA7 #A7532E #2EA753
tetradic
#532EA7 #A72E46 #82A72E #2EA790
square
#532EA7 #A72E46 #82A72E #2EA790
split-complementary
#532EA7 #A7902E #46A72E
monochromatic
#231447 #3B2177 #532EA7 #6F46CC #9476D9

Accessibility & contrast

On white

9.07
#532EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532EA7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EA7#FFFFFF#000000##FFFFFF
##532EA71.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#364E67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532ea7;
/* rgb */ color: rgb(83, 46, 167);
/* oklch */ color: oklch(42.4% 0.181 290.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ac2',
    500: '#532ea7',
    950: '#000000',
  },
}
SCSS
$custom: #532ea7;
$custom-light: #8c6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#532ea7",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 258.347,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42392,
    "c": 0.18109,
    "h": 290.5
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#532EA7
secondary
#A8C170
accent
#E048B1
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #532EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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