#532C95#532C95

#532C95 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.162 H 295.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#532C95
RGBrgb(83, 44, 149)
HSLhsl(262, 54%, 38%)
HSVhsv(262, 70%, 58%)
CMYKcmyk(44.3%, 70.5%, 0%, 41.6%)
CIE-LABlab(28.93, 41.53, -51.26)
CIE-LCHlch(28.93, 65.97, 309.01°)
OKLaboklab(40.56% 0.069 -0.1466)
OKLCHoklch(40.56% 0.162 295.2)
XYZxyz(9.8913, 5.8100, 29.0282)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532C95 #6E952C
analogous
#2C3995 #532C95 #872C95
triadic
#532C95 #95532C #2C9553
tetradic
#532C95 #952C39 #6E952C #2C9587
square
#532C95 #952C39 #6E952C #2C9587
split-complementary
#532C95 #95872C #39952C
monochromatic
#1E1037 #391E66 #532C95 #6D3AC4 #9069D3

Accessibility & contrast

On white

9.71
#532C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#532C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532C95
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532C95#FFFFFF#000000##FFFFFF
##532C951.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #532c95;
/* rgb */ color: rgb(83, 44, 149);
/* oklch */ color: oklch(40.6% 0.162 295.2);
Tailwind
colors: {
  custom: {
    50: '#8968b5',
    500: '#532c95',
    950: '#000000',
  },
}
SCSS
$custom: #532c95;
$custom-light: #8968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532c95",
  "rgb": {
    "r": 83,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 262.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40559,
    "c": 0.16203,
    "h": 295.2
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#532C95
secondary
#99B964
accent
#DE4AA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532C95

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

Preview Lab → · Contrast checker → · Palette generator →

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