#532176#532176

#532176 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.140 H 307.8°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#532176
RGBrgb(83, 33, 118)
HSLhsl(275, 56%, 30%)
HSVhsv(275, 72%, 46%)
CMYKcmyk(29.7%, 72%, 0%, 53.7%)
CIE-LABlab(24.43, 39.03, -39.16)
CIE-LCHlch(24.43, 55.29, 314.91°)
OKLaboklab(36.58% 0.0861 -0.111)
OKLCHoklch(36.58% 0.14 307.8)
XYZxyz(7.3805, 4.2348, 17.5646)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532176 #447621
analogous
#292176 #532176 #76216F
triadic
#532176 #765321 #217653
tetradic
#532176 #762921 #447621 #216F76
square
#532176 #762921 #447621 #216F76
split-complementary
#532176 #6F7621 #217629
monochromatic
#110718 #311446 #532176 #752EA6 #9446CB

Accessibility & contrast

On white

11.37
#532176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#532176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532176
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532176#FFFFFF#000000##FFFFFF
##5321761.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#0C3B74
Tritanopia (blue-blind)
#4D3449
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #532176;
/* rgb */ color: rgb(83, 33, 118);
/* oklch */ color: oklch(36.6% 0.140 307.8);
Tailwind
colors: {
  custom: {
    50: '#87619e',
    500: '#532176',
    950: '#000000',
  },
}
SCSS
$custom: #532176;
$custom-light: #87619e;
$custom-dark: #000000;
JSON
{
  "hex": "#532176",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 275.294,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36577,
    "c": 0.14046,
    "h": 307.8
  },
  "luminance": 0.04235
}

Semantic roles & 50–950 ramp

primary
#532176
secondary
#71A94A
accent
#E04887
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #532176

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

Preview Lab → · Contrast checker → · Palette generator →

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