#532BAF#532BAF

#532BAF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.194 H 289.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#532BAF
RGBrgb(83, 43, 175)
HSLhsl(258, 61%, 43%)
HSVhsv(258, 75%, 69%)
CMYKcmyk(52.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(31.02, 49.30, -63.58)
CIE-LCHlch(31.02, 80.45, 307.79°)
OKLaboklab(42.75% 0.0642 -0.1827)
OKLCHoklch(42.75% 0.194 289.3)
XYZxyz(12.1668, 6.6613, 41.1938)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BAF #87AF2B
analogous
#2B45AF #532BAF #952BAF
triadic
#532BAF #AF532B #2BAF53
tetradic
#532BAF #AF2B45 #87AF2B #2BAF95
square
#532BAF #AF2B45 #87AF2B #2BAF95
split-complementary
#532BAF #AF952B #45AF2B
monochromatic
#24134D #3C1F7E #532BAF #7046D1 #9677DE

Accessibility & contrast

On white

9.00
#532BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#532BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BAF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BAF#FFFFFF#000000##FFFFFF
##532BAF1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#304F6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #532baf;
/* rgb */ color: rgb(83, 43, 175);
/* oklch */ color: oklch(42.7% 0.194 289.3);
Tailwind
colors: {
  custom: {
    50: '#8d69c8',
    500: '#532baf',
    950: '#000000',
  },
}
SCSS
$custom: #532baf;
$custom-light: #8d69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#532baf",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 258.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.19367,
    "h": 289.3
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#532BAF
secondary
#ACC570
accent
#E444B3
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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