#532E9E#532E9E

#532E9E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.6% C 0.170 H 292.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#532E9E
RGBrgb(83, 46, 158)
HSLhsl(260, 55%, 40%)
HSVhsv(260, 71%, 62%)
CMYKcmyk(47.5%, 70.9%, 0%, 38%)
CIE-LABlab(30.06, 42.99, -54.90)
CIE-LCHlch(30.06, 69.73, 308.06°)
OKLaboklab(41.6% 0.0653 -0.1573)
OKLCHoklch(41.6% 0.17 292.6)
XYZxyz(10.7141, 6.2613, 32.9852)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532E9E #799E2E
analogous
#2E419E #532E9E #8B2E9E
triadic
#532E9E #9E532E #2E9E53
tetradic
#532E9E #9E2E41 #799E2E #2E9E8B
square
#532E9E #9E2E41 #799E2E #2E9E8B
split-complementary
#532E9E #9E8B2E #419E2E
monochromatic
#21123F #3A206F #532E9E #6E41C8 #9271D6

Accessibility & contrast

On white

9.32
#532E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#532E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532E9E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532E9E#FFFFFF#000000##FFFFFF
##532E9E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#3C4A62
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #532e9e;
/* rgb */ color: rgb(83, 46, 158);
/* oklch */ color: oklch(41.6% 0.170 292.6);
Tailwind
colors: {
  custom: {
    50: '#8a6abc',
    500: '#532e9e',
    950: '#000000',
  },
}
SCSS
$custom: #532e9e;
$custom-light: #8a6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#532e9e",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 259.821,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.17035,
    "h": 292.6
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#532E9E
secondary
#A2BD6B
accent
#DE4AAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #532E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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