#532488#532488

#532488 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.157 H 300.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#532488
RGBrgb(83, 36, 136)
HSLhsl(268, 58%, 34%)
HSVhsv(268, 74%, 53%)
CMYKcmyk(39%, 73.5%, 0%, 46.7%)
CIE-LABlab(26.39, 42.13, -47.35)
CIE-LCHlch(26.39, 63.38, 311.66°)
OKLaboklab(38.42% 0.0798 -0.1351)
OKLCHoklch(38.42% 0.157 300.6)
XYZxyz(8.6410, 4.8783, 23.7741)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532488 #598824
analogous
#242788 #532488 #852488
triadic
#532488 #885324 #248853
tetradic
#532488 #882427 #598824 #248885
square
#532488 #882427 #598824 #248885
split-complementary
#532488 #888524 #278824
monochromatic
#180A27 #351758 #532488 #7131B8 #8F55D2

Accessibility & contrast

On white

10.63
#532488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#532488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532488
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532488#FFFFFF#000000##FFFFFF
##5324881.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#473D53
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #532488;
/* rgb */ color: rgb(83, 36, 136);
/* oklch */ color: oklch(38.4% 0.157 300.6);
Tailwind
colors: {
  custom: {
    50: '#8863ab',
    500: '#532488',
    950: '#000000',
  },
}
SCSS
$custom: #532488;
$custom-light: #8863ab;
$custom-dark: #000000;
JSON
{
  "hex": "#532488",
  "rgb": {
    "r": 83,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 268.2,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38415,
    "c": 0.15687,
    "h": 300.6
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#532488
secondary
#87B652
accent
#E14699
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #532488

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

Preview Lab → · Contrast checker → · Palette generator →

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