#532AAF#532AAF

#532AAF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.195 H 289.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#532AAF
RGBrgb(83, 42, 175)
HSLhsl(258, 61%, 43%)
HSVhsv(258, 76%, 69%)
CMYKcmyk(52.6%, 76%, 0%, 31.4%)
CIE-LABlab(30.85, 49.79, -63.85)
CIE-LCHlch(30.85, 80.97, 307.94°)
OKLaboklab(42.63% 0.0649 -0.1835)
OKLCHoklch(42.63% 0.195 289.5)
XYZxyz(12.1309, 6.5895, 41.1818)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AAF #86AF2A
analogous
#2A44AF #532AAF #952AAF
triadic
#532AAF #AF532A #2AAF53
tetradic
#532AAF #AF2A44 #86AF2A #2AAF95
square
#532AAF #AF2A44 #86AF2A #2AAF95
split-complementary
#532AAF #AF952A #44AF2A
monochromatic
#24124C #3C1E7E #532AAF #7044D2 #9675DE

Accessibility & contrast

On white

9.06
#532AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#532AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AAF
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AAF#FFFFFF#000000##FFFFFF
##532AAF1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#314F6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532aaf;
/* rgb */ color: rgb(83, 42, 175);
/* oklch */ color: oklch(42.6% 0.195 289.5);
Tailwind
colors: {
  custom: {
    50: '#8d68c8',
    500: '#532aaf',
    950: '#000000',
  },
}
SCSS
$custom: #532aaf;
$custom-light: #8d68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#532aaf",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 258.496,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.19469,
    "h": 289.5
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#532AAF
secondary
#ABC66F
accent
#E443B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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