#532D94#532D94

#532D94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.160 H 295.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#532D94
RGBrgb(83, 45, 148)
HSLhsl(262, 53%, 38%)
HSVhsv(262, 70%, 58%)
CMYKcmyk(43.9%, 69.6%, 0%, 42%)
CIE-LABlab(29.04, 40.71, -50.46)
CIE-LCHlch(29.04, 64.84, 308.90°)
OKLaboklab(40.61% 0.0681 -0.1443)
OKLCHoklch(40.61% 0.16 295.3)
XYZxyz(9.8495, 5.8537, 28.6222)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D94 #6E942D
analogous
#2D3A94 #532D94 #862D94
triadic
#532D94 #94532D #2D9453
tetradic
#532D94 #942D3A #6E942D #2D9486
square
#532D94 #942D3A #6E942D #2D9486
split-complementary
#532D94 #94862D #3A942D
monochromatic
#1E1036 #391F65 #532D94 #6D3BC3 #906AD2

Accessibility & contrast

On white

9.67
#532D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#532D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D94
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D94#FFFFFF#000000##FFFFFF
##532D941.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#41465D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532d94;
/* rgb */ color: rgb(83, 45, 148);
/* oklch */ color: oklch(40.6% 0.160 295.3);
Tailwind
colors: {
  custom: {
    50: '#8969b4',
    500: '#532d94',
    950: '#000000',
  },
}
SCSS
$custom: #532d94;
$custom-light: #8969b4;
$custom-dark: #000000;
JSON
{
  "hex": "#532d94",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 262.136,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.15953,
    "h": 295.3
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#532D94
secondary
#99B864
accent
#DD4BA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532D94

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

Preview Lab → · Contrast checker → · Palette generator →

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