#532196#532196

#532196 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.176 H 296.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#532196
RGBrgb(83, 33, 150)
HSLhsl(266, 64%, 36%)
HSVhsv(266, 78%, 59%)
CMYKcmyk(44.7%, 78%, 0%, 41.2%)
CIE-LABlab(27.10, 47.21, -54.86)
CIE-LCHlch(27.10, 72.37, 310.71°)
OKLaboklab(39.29% 0.0792 -0.1571)
OKLCHoklch(39.29% 0.176 296.8)
XYZxyz(9.6147, 5.1285, 29.3316)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532196 #649621
analogous
#212996 #532196 #8D2196
triadic
#532196 #965321 #219653
tetradic
#532196 #962129 #649621 #21968D
square
#532196 #962129 #649621 #21968D
split-complementary
#532196 #968D21 #299621
monochromatic
#1B0B32 #371664 #532196 #6F2CC8 #8F57DA

Accessibility & contrast

On white

10.37
#532196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#532196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532196
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532196#FFFFFF#000000##FFFFFF
##5321961.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#41415B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532196;
/* rgb */ color: rgb(83, 33, 150);
/* oklch */ color: oklch(39.3% 0.176 296.8);
Tailwind
colors: {
  custom: {
    50: '#8a62b6',
    500: '#532196',
    950: '#000000',
  },
}
SCSS
$custom: #532196;
$custom-light: #8a62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#532196",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 265.641,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39292,
    "c": 0.17595,
    "h": 296.8
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#532196
secondary
#91BE55
accent
#E741A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532196

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

Preview Lab → · Contrast checker → · Palette generator →

#532196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva