#532E98#532E98

#532E98 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.163 H 294.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#532E98
RGBrgb(83, 46, 152)
HSLhsl(261, 54%, 39%)
HSVhsv(261, 70%, 60%)
CMYKcmyk(45.4%, 69.7%, 0%, 40.4%)
CIE-LABlab(29.56, 41.29, -52.06)
CIE-LCHlch(29.56, 66.45, 308.42°)
OKLaboklab(41.09% 0.0664 -0.149)
OKLCHoklch(41.09% 0.163 294)
XYZxyz(10.2102, 6.0597, 30.3314)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532E98 #73982E
analogous
#2E3E98 #532E98 #882E98
triadic
#532E98 #98532E #2E9853
tetradic
#532E98 #982E3E #73982E #2E9888
square
#532E98 #982E3E #73982E #2E9888
split-complementary
#532E98 #98882E #3E982E
monochromatic
#20123A #392069 #532E98 #6D3EC5 #916DD3

Accessibility & contrast

On white

9.49
#532E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#532E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532E98
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532E98#FFFFFF#000000##FFFFFF
##532E981.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#3F485F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #532e98;
/* rgb */ color: rgb(83, 46, 152);
/* oklch */ color: oklch(41.1% 0.163 294.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ab7',
    500: '#532e98',
    950: '#000000',
  },
}
SCSS
$custom: #532e98;
$custom-light: #8a6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#532e98",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 260.943,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.1631,
    "h": 294
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#532E98
secondary
#9DBA68
accent
#DD4BAA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532E98

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

Preview Lab → · Contrast checker → · Palette generator →

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