#532192#532192

#532192 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.172 H 297.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#532192
RGBrgb(83, 33, 146)
HSLhsl(267, 63%, 35%)
HSVhsv(267, 77%, 57%)
CMYKcmyk(43.2%, 77.4%, 0%, 42.7%)
CIE-LABlab(26.74, 46.16, -52.98)
CIE-LCHlch(26.74, 70.27, 311.06°)
OKLaboklab(38.93% 0.0803 -0.1516)
OKLCHoklch(38.93% 0.172 297.9)
XYZxyz(9.2981, 5.0019, 27.6641)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532192 #609221
analogous
#212792 #532192 #8C2192
triadic
#532192 #925321 #219253
tetradic
#532192 #922127 #609221 #21928C
square
#532192 #922127 #609221 #21928C
split-complementary
#532192 #928C21 #279221
monochromatic
#1A0A2E #371660 #532192 #6F2CC4 #8F55D9

Accessibility & contrast

On white

10.50
#532192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#532192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532192
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532192#FFFFFF#000000##FFFFFF
##5321921.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#433F58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #532192;
/* rgb */ color: rgb(83, 33, 146);
/* oklch */ color: oklch(38.9% 0.172 297.9);
Tailwind
colors: {
  custom: {
    50: '#8a62b3',
    500: '#532192',
    950: '#000000',
  },
}
SCSS
$custom: #532192;
$custom-light: #8a62b3;
$custom-dark: #000000;
JSON
{
  "hex": "#532192",
  "rgb": {
    "r": 83,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 266.549,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.17155,
    "h": 297.9
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#532192
secondary
#8DBC53
accent
#E6429D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #532192

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

Preview Lab → · Contrast checker → · Palette generator →

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