#532885#532885

#532885 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.148 H 300.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#532885
RGBrgb(83, 40, 133)
HSLhsl(268, 54%, 34%)
HSVhsv(268, 70%, 52%)
CMYKcmyk(37.6%, 69.9%, 0%, 47.8%)
CIE-LABlab(26.88, 39.30, -44.68)
CIE-LCHlch(26.88, 59.50, 311.33°)
OKLaboklab(38.69% 0.0759 -0.1272)
OKLCHoklch(38.69% 0.148 300.8)
XYZxyz(8.5587, 5.0500, 22.7096)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532885 #5A8528
analogous
#282C85 #532885 #822885
triadic
#532885 #855328 #288553
tetradic
#532885 #85282C #5A8528 #288582
square
#532885 #85282C #5A8528 #288582
split-complementary
#532885 #858228 #2C8528
monochromatic
#180C27 #361A56 #532885 #7036B4 #8F5ACD

Accessibility & contrast

On white

10.45
#532885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#532885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532885
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532885#FFFFFF#000000##FFFFFF
##5328851.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#483E53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532885;
/* rgb */ color: rgb(83, 40, 133);
/* oklch */ color: oklch(38.7% 0.148 300.8);
Tailwind
colors: {
  custom: {
    50: '#8865a9',
    500: '#532885',
    950: '#000000',
  },
}
SCSS
$custom: #532885;
$custom-light: #8865a9;
$custom-dark: #000000;
JSON
{
  "hex": "#532885",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 267.742,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.14818,
    "h": 300.8
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#532885
secondary
#88B356
accent
#DD4B99
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532885

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

Preview Lab → · Contrast checker → · Palette generator →

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