#532A9F#532A9F

#532A9F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.176 H 293.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#532A9F
RGBrgb(83, 42, 159)
HSLhsl(261, 58%, 39%)
HSVhsv(261, 74%, 62%)
CMYKcmyk(47.8%, 73.6%, 0%, 37.6%)
CIE-LABlab(29.41, 45.34, -56.58)
CIE-LCHlch(29.41, 72.51, 308.71°)
OKLaboklab(41.16% 0.0689 -0.1622)
OKLCHoklch(41.16% 0.176 293)
XYZxyz(10.6515, 5.9978, 33.3906)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532A9F #769F2A
analogous
#2A3B9F #532A9F #8E2A9F
triadic
#532A9F #9F532A #2A9F53
tetradic
#532A9F #9F2A3B #769F2A #2A9F8E
square
#532A9F #9F2A3B #769F2A #2A9F8E
split-complementary
#532A9F #9F8E2A #3B9F2A
monochromatic
#20103E #3A1D6F #532A9F #6E3BCB #916BD8

Accessibility & contrast

On white

9.55
#532A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#532A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532A9F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532A9F#FFFFFF#000000##FFFFFF
##532A9F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#3C4962
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532a9f;
/* rgb */ color: rgb(83, 42, 159);
/* oklch */ color: oklch(41.2% 0.176 293.0);
Tailwind
colors: {
  custom: {
    50: '#8b67bc',
    500: '#532a9f',
    950: '#000000',
  },
}
SCSS
$custom: #532a9f;
$custom-light: #8b67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#532a9f",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 261.026,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.17626,
    "h": 293
  },
  "luminance": 0.05998
}

Semantic roles & 50–950 ramp

primary
#532A9F
secondary
#A0BF66
accent
#E146AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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