#532986#532986

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

Color values

HEX#532986
RGBrgb(83, 41, 134)
HSLhsl(267, 53%, 34%)
HSVhsv(267, 69%, 53%)
CMYKcmyk(38.1%, 69.4%, 0%, 47.5%)
CIE-LABlab(27.15, 39.03, -44.87)
CIE-LCHlch(27.15, 59.47, 311.02°)
OKLaboklab(38.91% 0.0746 -0.1278)
OKLCHoklch(38.91% 0.148 300.3)
XYZxyz(8.6622, 5.1460, 23.0866)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532986 #5C8629
analogous
#292D86 #532986 #822986
triadic
#532986 #865329 #298653
tetradic
#532986 #86292D #5C8629 #298682
square
#532986 #86292D #5C8629 #298682
split-complementary
#532986 #868229 #2D8629
monochromatic
#190C28 #361B57 #532986 #7037B5 #8F5CCD

Accessibility & contrast

On white

10.35
#532986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #532986
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532986#FFFFFF#000000##FFFFFF
##5329861.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#483F54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #532986;
/* rgb */ color: rgb(83, 41, 134);
/* oklch */ color: oklch(38.9% 0.148 300.3);
Tailwind
colors: {
  custom: {
    50: '#8866aa',
    500: '#532986',
    950: '#000000',
  },
}
SCSS
$custom: #532986;
$custom-light: #8866aa;
$custom-dark: #000000;
JSON
{
  "hex": "#532986",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 267.097,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.148,
    "h": 300.3
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#532986
secondary
#8AB358
accent
#DD4B9B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532986

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

Preview Lab → · Contrast checker → · Palette generator →

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