#532E83#532E83

#532E83 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.137 H 300.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#532E83
RGBrgb(83, 46, 131)
HSLhsl(266, 48%, 35%)
HSVhsv(266, 65%, 51%)
CMYKcmyk(36.6%, 64.9%, 0%, 48.6%)
CIE-LABlab(27.93, 35.46, -41.73)
CIE-LCHlch(27.93, 54.76, 310.36°)
OKLaboklab(39.4% 0.069 -0.1186)
OKLCHoklch(39.4% 0.137 300.2)
XYZxyz(8.6400, 5.4316, 22.0615)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#532E83 #5E832E
analogous
#2E3383 #532E83 #7E2E83
triadic
#532E83 #83532E #2E8353
tetradic
#532E83 #832E33 #5E832E #2E837E
square
#532E83 #832E33 #5E832E #2E837E
split-complementary
#532E83 #837E2E #33832E
monochromatic
#1A0E28 #361E56 #532E83 #703EB0 #8F63C8

Accessibility & contrast

On white

10.07
#532E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#532E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #532E83
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##532E83#FFFFFF#000000##FFFFFF
##532E831.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#0C4181
Tritanopia (blue-blind)
#494154
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #532e83;
/* rgb */ color: rgb(83, 46, 131);
/* oklch */ color: oklch(39.4% 0.137 300.2);
Tailwind
colors: {
  custom: {
    50: '#8769a8',
    500: '#532e83',
    950: '#000000',
  },
}
SCSS
$custom: #532e83;
$custom-light: #8769a8;
$custom-dark: #000000;
JSON
{
  "hex": "#532e83",
  "rgb": {
    "r": 83,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 266.118,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.13718,
    "h": 300.2
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#532E83
secondary
#8CAF5E
accent
#D8509D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #532E83

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

Preview Lab → · Contrast checker → · Palette generator →

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