#532EA6#532EA6

#532EA6 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.180 H 290.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#532EA6
RGBrgb(83, 46, 166)
HSLhsl(259, 57%, 42%)
HSVhsv(259, 72%, 65%)
CMYKcmyk(50%, 72.3%, 0%, 34.9%)
CIE-LABlab(30.75, 45.26, -58.62)
CIE-LCHlch(30.75, 74.06, 307.67°)
OKLaboklab(42.3% 0.0637 -0.1682)
OKLCHoklch(42.3% 0.18 290.7)
XYZxyz(11.4252, 6.5457, 36.7304)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EA6 #81A62E
analogous
#2E45A6 #532EA6 #8F2EA6
triadic
#532EA6 #A6532E #2EA653
tetradic
#532EA6 #A62E45 #81A62E #2EA68F
square
#532EA6 #A62E45 #81A62E #2EA68F
split-complementary
#532EA6 #A68F2E #45A62E
monochromatic
#231346 #3B2176 #532EA6 #6F46CC #9476D9

Accessibility & contrast

On white

9.09
#532EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#532EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EA6
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EA6#FFFFFF#000000##FFFFFF
##532EA61.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#374D67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532ea6;
/* rgb */ color: rgb(83, 46, 166);
/* oklch */ color: oklch(42.3% 0.180 290.7);
Tailwind
colors: {
  custom: {
    50: '#8b6ac1',
    500: '#532ea6',
    950: '#000000',
  },
}
SCSS
$custom: #532ea6;
$custom-light: #8b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#532ea6",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 258.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42303,
    "c": 0.1799,
    "h": 290.7
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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