#532183#532183

#532183 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.155 H 302.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#532183
RGBrgb(83, 33, 131)
HSLhsl(271, 60%, 32%)
HSVhsv(271, 75%, 51%)
CMYKcmyk(36.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(25.46, 42.29, -45.73)
CIE-LCHlch(25.46, 62.29, 312.76°)
OKLaboklab(37.63% 0.0839 -0.1303)
OKLCHoklch(37.63% 0.155 302.8)
XYZxyz(8.2069, 4.5654, 21.9172)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532183 #518321
analogous
#222183 #532183 #832182
triadic
#532183 #835321 #218353
tetradic
#532183 #832221 #518321 #218283
square
#532183 #832221 #518321 #218283
split-complementary
#532183 #828321 #218322
monochromatic
#150821 #341552 #532183 #722DB4 #914CD2

Accessibility & contrast

On white

10.98
#532183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#532183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532183
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532183#FFFFFF#000000##FFFFFF
##5321831.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#493950
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #532183;
/* rgb */ color: rgb(83, 33, 131);
/* oklch */ color: oklch(37.6% 0.155 302.8);
Tailwind
colors: {
  custom: {
    50: '#8861a8',
    500: '#532183',
    950: '#000000',
  },
}
SCSS
$custom: #532183;
$custom-light: #8861a8;
$custom-dark: #000000;
JSON
{
  "hex": "#532183",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 270.612,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3763,
    "c": 0.15495,
    "h": 302.8
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#532183
secondary
#7FB54B
accent
#E34592
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #532183

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

Preview Lab → · Contrast checker → · Palette generator →

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