#532EA5#532EA5

#532EA5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.179 H 291.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#532EA5
RGBrgb(83, 46, 165)
HSLhsl(259, 56%, 41%)
HSVhsv(259, 72%, 65%)
CMYKcmyk(49.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(30.66, 44.97, -58.16)
CIE-LCHlch(30.66, 73.52, 307.71°)
OKLaboklab(42.21% 0.0639 -0.1669)
OKLCHoklch(42.21% 0.179 291)
XYZxyz(11.3339, 6.5092, 36.2492)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532EA5 #80A52E
analogous
#2E45A5 #532EA5 #8F2EA5
triadic
#532EA5 #A5532E #2EA553
tetradic
#532EA5 #A52E45 #80A52E #2EA58F
square
#532EA5 #A52E45 #80A52E #2EA58F
split-complementary
#532EA5 #A58F2E #45A52E
monochromatic
#231345 #3B2175 #532EA5 #6F45CB #9475D8

Accessibility & contrast

On white

9.12
#532EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#532EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532EA5
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532EA5#FFFFFF#000000##FFFFFF
##532EA51.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#384D66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #532ea5;
/* rgb */ color: rgb(83, 46, 165);
/* oklch */ color: oklch(42.2% 0.179 291.0);
Tailwind
colors: {
  custom: {
    50: '#8b6ac1',
    500: '#532ea5',
    950: '#000000',
  },
}
SCSS
$custom: #532ea5;
$custom-light: #8b6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#532ea5",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 258.655,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42214,
    "c": 0.17871,
    "h": 291
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #532EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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