#532C98#532C98

#532C98 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.166 H 294.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#532C98
RGBrgb(83, 44, 152)
HSLhsl(262, 55%, 38%)
HSVhsv(262, 71%, 60%)
CMYKcmyk(45.4%, 71.1%, 0%, 40.4%)
CIE-LABlab(29.18, 42.36, -52.69)
CIE-LCHlch(29.18, 67.61, 308.80°)
OKLaboklab(40.81% 0.0685 -0.1508)
OKLCHoklch(40.81% 0.166 294.4)
XYZxyz(10.1339, 5.9071, 30.3059)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C98 #71982C
analogous
#2C3B98 #532C98 #892C98
triadic
#532C98 #98532C #2C9853
tetradic
#532C98 #982C3B #71982C #2C9889
square
#532C98 #982C3B #71982C #2C9889
split-complementary
#532C98 #98892C #3B982C
monochromatic
#1F1139 #391E69 #532C98 #6D3BC6 #916AD4

Accessibility & contrast

On white

9.63
#532C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#532C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C98
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C98#FFFFFF#000000##FFFFFF
##532C981.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#40475F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #532c98;
/* rgb */ color: rgb(83, 44, 152);
/* oklch */ color: oklch(40.8% 0.166 294.4);
Tailwind
colors: {
  custom: {
    50: '#8a68b7',
    500: '#532c98',
    950: '#000000',
  },
}
SCSS
$custom: #532c98;
$custom-light: #8a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#532c98",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 261.667,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40814,
    "c": 0.16562,
    "h": 294.4
  },
  "luminance": 0.05907
}

Semantic roles & 50–950 ramp

primary
#532C98
secondary
#9CBB65
accent
#DE49A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532C98

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

Preview Lab → · Contrast checker → · Palette generator →

#532C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva