#532BA5#532BA5

#532BA5 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.182 H 291.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#532BA5
RGBrgb(83, 43, 165)
HSLhsl(260, 59%, 41%)
HSVhsv(260, 74%, 65%)
CMYKcmyk(49.7%, 73.9%, 0%, 35.3%)
CIE-LABlab(30.12, 46.51, -59.06)
CIE-LCHlch(30.12, 75.17, 308.22°)
OKLaboklab(41.83% 0.0666 -0.1695)
OKLCHoklch(41.83% 0.182 291.5)
XYZxyz(11.2208, 6.2829, 36.2115)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532BA5 #7DA52B
analogous
#2B40A5 #532BA5 #902BA5
triadic
#532BA5 #A5532B #2BA553
tetradic
#532BA5 #A52B40 #7DA52B #2BA590
square
#532BA5 #A52B40 #7DA52B #2BA590
split-complementary
#532BA5 #A5902B #40A52B
monochromatic
#221244 #3B1E74 #532BA5 #6E40CD #9371DA

Accessibility & contrast

On white

9.31
#532BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#532BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532BA5
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532BA5#FFFFFF#000000##FFFFFF
##532BA51.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#384B65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #532ba5;
/* rgb */ color: rgb(83, 43, 165);
/* oklch */ color: oklch(41.8% 0.182 291.5);
Tailwind
colors: {
  custom: {
    50: '#8c68c1',
    500: '#532ba5',
    950: '#000000',
  },
}
SCSS
$custom: #532ba5;
$custom-light: #8c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#532ba5",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 259.672,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41827,
    "c": 0.18212,
    "h": 291.5
  },
  "luminance": 0.06283
}

Semantic roles & 50–950 ramp

primary
#532BA5
secondary
#A5C16B
accent
#E246AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #532BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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