#532295#532295

#532295 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.174 H 296.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#532295
RGBrgb(83, 34, 149)
HSLhsl(266, 63%, 36%)
HSVhsv(266, 77%, 58%)
CMYKcmyk(44.3%, 77.2%, 0%, 41.6%)
CIE-LABlab(27.17, 46.49, -54.14)
CIE-LCHlch(27.17, 71.36, 310.66°)
OKLaboklab(39.31% 0.0786 -0.155)
OKLCHoklch(39.31% 0.174 296.9)
XYZxyz(9.5627, 5.1528, 28.9187)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532295 #649522
analogous
#222A95 #532295 #8C2295
triadic
#532295 #955322 #229553
tetradic
#532295 #95222A #649522 #22958C
square
#532295 #95222A #649522 #22958C
split-complementary
#532295 #958C22 #2A9522
monochromatic
#1B0B31 #371763 #532295 #6F2DC7 #8F58D9

Accessibility & contrast

On white

10.34
#532295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#532295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532295
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532295#FFFFFF#000000##FFFFFF
##5322951.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#41415A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532295;
/* rgb */ color: rgb(83, 34, 149);
/* oklch */ color: oklch(39.3% 0.174 296.9);
Tailwind
colors: {
  custom: {
    50: '#8a63b5',
    500: '#532295',
    950: '#000000',
  },
}
SCSS
$custom: #532295;
$custom-light: #8a63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#532295",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 265.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.17379,
    "h": 296.9
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#532295
secondary
#91BD56
accent
#E642A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #532295

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

Preview Lab → · Contrast checker → · Palette generator →

#532295 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva