#532292#532292

#532292 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.170 H 297.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#532292
RGBrgb(83, 34, 146)
HSLhsl(266, 62%, 35%)
HSVhsv(266, 77%, 57%)
CMYKcmyk(43.2%, 76.7%, 0%, 42.7%)
CIE-LABlab(26.90, 45.70, -52.72)
CIE-LCHlch(26.90, 69.77, 310.92°)
OKLaboklab(39.04% 0.0794 -0.1508)
OKLCHoklch(39.04% 0.17 297.8)
XYZxyz(9.3263, 5.0582, 27.6735)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532292 #619222
analogous
#222992 #532292 #8B2292
triadic
#532292 #925322 #229253
tetradic
#532292 #922229 #619222 #22928B
square
#532292 #922229 #619222 #22928B
split-complementary
#532292 #928B22 #299222
monochromatic
#1B0B2F #371660 #532292 #6F2EC4 #8F57D8

Accessibility & contrast

On white

10.44
#532292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#532292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532292
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532292#FFFFFF#000000##FFFFFF
##5322921.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#434059
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532292;
/* rgb */ color: rgb(83, 34, 146);
/* oklch */ color: oklch(39.0% 0.170 297.8);
Tailwind
colors: {
  custom: {
    50: '#8a63b3',
    500: '#532292',
    950: '#000000',
  },
}
SCSS
$custom: #532292;
$custom-light: #8a63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#532292",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 266.25,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.17046,
    "h": 297.8
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#532292
secondary
#8EBC54
accent
#E5439E
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #532292

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

Preview Lab → · Contrast checker → · Palette generator →

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