#531882#531882

#531882 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.164 H 304.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#531882
RGBrgb(83, 24, 130)
HSLhsl(273, 69%, 30%)
HSVhsv(273, 82%, 51%)
CMYKcmyk(36.2%, 81.5%, 0%, 49%)
CIE-LABlab(24.01, 45.94, -47.46)
CIE-LCHlch(24.01, 66.05, 314.07°)
OKLaboklab(36.59% 0.0925 -0.1353)
OKLCHoklch(36.59% 0.164 304.4)
XYZxyz(7.9222, 4.1040, 21.4896)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531882 #478218
analogous
#1E1882 #531882 #82187C
triadic
#531882 #825318 #188253
tetradic
#531882 #821E18 #478218 #187C82
square
#531882 #821E18 #478218 #187C82
split-complementary
#531882 #7C8218 #18821E
monochromatic
#11051B #320E4E #531882 #7422B6 #933ADB

Accessibility & contrast

On white

11.53
#531882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#531882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531882
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531882#FFFFFF#000000##FFFFFF
##5318821.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#4A344D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531882;
/* rgb */ color: rgb(83, 24, 130);
/* oklch */ color: oklch(36.6% 0.164 304.4);
Tailwind
colors: {
  custom: {
    50: '#895da7',
    500: '#531882',
    950: '#000000',
  },
}
SCSS
$custom: #531882;
$custom-light: #895da7;
$custom-dark: #000000;
JSON
{
  "hex": "#531882",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 273.396,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36587,
    "c": 0.16393,
    "h": 304.4
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#531882
secondary
#74B640
accent
#EC3C8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531882

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

Preview Lab → · Contrast checker → · Palette generator →

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