#532D91#532D91

#532D91 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.156 H 296.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#532D91
RGBrgb(83, 45, 145)
HSLhsl(263, 53%, 37%)
HSVhsv(263, 69%, 57%)
CMYKcmyk(42.8%, 69%, 0%, 43.1%)
CIE-LABlab(28.80, 39.88, -49.01)
CIE-LCHlch(28.80, 63.19, 309.13°)
OKLaboklab(40.37% 0.0686 -0.14)
OKLCHoklch(40.37% 0.156 296.1)
XYZxyz(9.6152, 5.7599, 27.3878)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532D91 #6B912D
analogous
#2D3991 #532D91 #852D91
triadic
#532D91 #91532D #2D9153
tetradic
#532D91 #912D39 #6B912D #2D9185
square
#532D91 #912D39 #6B912D #2D9185
split-complementary
#532D91 #91852D #39912D
monochromatic
#1E1034 #381F62 #532D91 #6E3BC0 #9068D0

Accessibility & contrast

On white

9.76
#532D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#532D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532D91
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532D91#FFFFFF#000000##FFFFFF
##532D911.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#43455B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #532d91;
/* rgb */ color: rgb(83, 45, 145);
/* oklch */ color: oklch(40.4% 0.156 296.1);
Tailwind
colors: {
  custom: {
    50: '#8969b2',
    500: '#532d91',
    950: '#000000',
  },
}
SCSS
$custom: #532d91;
$custom-light: #8969b2;
$custom-dark: #000000;
JSON
{
  "hex": "#532d91",
  "rgb": {
    "r": 83,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 262.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.15589,
    "h": 296.1
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#532D91
secondary
#97B763
accent
#DC4CA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #532D91

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

Preview Lab → · Contrast checker → · Palette generator →

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