#532B94#532B94

#532B94 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.162 H 295.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#532B94
RGBrgb(83, 43, 148)
HSLhsl(263, 55%, 37%)
HSVhsv(263, 71%, 58%)
CMYKcmyk(43.9%, 70.9%, 0%, 42%)
CIE-LABlab(28.65, 41.78, -51.09)
CIE-LCHlch(28.65, 66.00, 309.28°)
OKLaboklab(40.34% 0.0702 -0.1461)
OKLCHoklch(40.34% 0.162 295.7)
XYZxyz(9.7750, 5.7046, 28.5973)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532B94 #6C942B
analogous
#2B3894 #532B94 #872B94
triadic
#532B94 #94532B #2B9453
tetradic
#532B94 #942B38 #6C942B #2B9487
square
#532B94 #942B38 #6C942B #2B9487
split-complementary
#532B94 #94872B #38942B
monochromatic
#1E0F35 #381D65 #532B94 #6E39C3 #9067D3

Accessibility & contrast

On white

9.81
#532B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#532B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532B94
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532B94#FFFFFF#000000##FFFFFF
##532B941.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#42455C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532b94;
/* rgb */ color: rgb(83, 43, 148);
/* oklch */ color: oklch(40.3% 0.162 295.7);
Tailwind
colors: {
  custom: {
    50: '#8968b4',
    500: '#532b94',
    950: '#000000',
  },
}
SCSS
$custom: #532b94;
$custom-light: #8968b4;
$custom-dark: #000000;
JSON
{
  "hex": "#532b94",
  "rgb": {
    "r": 83,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 262.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.1621,
    "h": 295.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#532B94
secondary
#98B962
accent
#DE49A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532B94

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

Preview Lab → · Contrast checker → · Palette generator →

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