#532AA8#532AA8

#532AA8 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.187 H 291.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#532AA8
RGBrgb(83, 42, 168)
HSLhsl(260, 60%, 41%)
HSVhsv(260, 75%, 66%)
CMYKcmyk(50.6%, 75%, 0%, 34.1%)
CIE-LABlab(30.21, 47.84, -60.71)
CIE-LCHlch(30.21, 77.30, 308.24°)
OKLaboklab(41.98% 0.0668 -0.1743)
OKLCHoklch(41.98% 0.187 291)
XYZxyz(11.4611, 6.3216, 37.6545)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532AA8 #7FA82A
analogous
#2A40A8 #532AA8 #922AA8
triadic
#532AA8 #A8532A #2AA853
tetradic
#532AA8 #A82A40 #7FA82A #2AA892
square
#532AA8 #A82A40 #7FA82A #2AA892
split-complementary
#532AA8 #A8922A #40A82A
monochromatic
#231246 #3B1E77 #532AA8 #6F40CF #9471DB

Accessibility & contrast

On white

9.27
#532AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#532AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532AA8
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532AA8#FFFFFF#000000##FFFFFF
##532AA81.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#364C67
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #532aa8;
/* rgb */ color: rgb(83, 42, 168);
/* oklch */ color: oklch(42.0% 0.187 291.0);
Tailwind
colors: {
  custom: {
    50: '#8c68c3',
    500: '#532aa8',
    950: '#000000',
  },
}
SCSS
$custom: #532aa8;
$custom-light: #8c68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#532aa8",
  "rgb": {
    "r": 83,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 259.524,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.18668,
    "h": 291
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#532AA8
secondary
#A6C36B
accent
#E345B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #532AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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