#532098#532098

#532098 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.179 H 296.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#532098
RGBrgb(83, 32, 152)
HSLhsl(266, 65%, 36%)
HSVhsv(266, 79%, 60%)
CMYKcmyk(45.4%, 78.9%, 0%, 40.4%)
CIE-LABlab(27.13, 48.17, -56.04)
CIE-LCHlch(27.13, 73.90, 310.68°)
OKLaboklab(39.37% 0.0795 -0.1606)
OKLCHoklch(39.37% 0.179 296.3)
XYZxyz(9.7498, 5.1388, 30.1779)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532098 #659820
analogous
#202998 #532098 #8F2098
triadic
#532098 #985320 #209853
tetradic
#532098 #982029 #659820 #20988F
square
#532098 #982029 #659820 #20988F
split-complementary
#532098 #988F20 #299820
monochromatic
#1C0B33 #371565 #532098 #6F2BCB #8F57DC

Accessibility & contrast

On white

10.36
#532098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#532098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532098
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532098#FFFFFF#000000##FFFFFF
##5320981.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#40415C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532098;
/* rgb */ color: rgb(83, 32, 152);
/* oklch */ color: oklch(39.4% 0.179 296.3);
Tailwind
colors: {
  custom: {
    50: '#8b62b7',
    500: '#532098',
    950: '#000000',
  },
}
SCSS
$custom: #532098;
$custom-light: #8b62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532098",
  "rgb": {
    "r": 83,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 265.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.17916,
    "h": 296.3
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#532098
secondary
#92BF54
accent
#E840A1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #532098

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

Preview Lab → · Contrast checker → · Palette generator →

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