#532492#532492

#532492 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.168 H 297.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#532492
RGBrgb(83, 36, 146)
HSLhsl(266, 60%, 36%)
HSVhsv(266, 75%, 57%)
CMYKcmyk(43.2%, 75.3%, 0%, 42.7%)
CIE-LABlab(27.23, 44.77, -52.18)
CIE-LCHlch(27.23, 68.75, 310.63°)
OKLaboklab(39.28% 0.0776 -0.1493)
OKLCHoklch(39.28% 0.168 297.5)
XYZxyz(9.3851, 5.1759, 27.6931)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532492 #639224
analogous
#242C92 #532492 #8A2492
triadic
#532492 #925324 #249253
tetradic
#532492 #92242C #639224 #24928A
square
#532492 #92242C #639224 #24928A
split-complementary
#532492 #928A24 #2C9224
monochromatic
#1B0C30 #371861 #532492 #6F30C3 #8F5AD6

Accessibility & contrast

On white

10.32
#532492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#532492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532492
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532492#FFFFFF#000000##FFFFFF
##5324921.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#434159
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532492;
/* rgb */ color: rgb(83, 36, 146);
/* oklch */ color: oklch(39.3% 0.168 297.5);
Tailwind
colors: {
  custom: {
    50: '#8a64b3',
    500: '#532492',
    950: '#000000',
  },
}
SCSS
$custom: #532492;
$custom-light: #8a64b3;
$custom-dark: #000000;
JSON
{
  "hex": "#532492",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 265.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.16821,
    "h": 297.5
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#532492
secondary
#90BB57
accent
#E4449F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532492

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

Preview Lab → · Contrast checker → · Palette generator →

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