#531985#531985

#531985 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.166 H 303.2°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#531985
RGBrgb(83, 25, 133)
HSLhsl(272, 68%, 31%)
HSVhsv(272, 81%, 52%)
CMYKcmyk(37.6%, 81.2%, 0%, 47.8%)
CIE-LABlab(24.41, 46.28, -48.70)
CIE-LCHlch(24.41, 67.18, 313.54°)
OKLaboklab(36.95% 0.0909 -0.1389)
OKLCHoklch(36.95% 0.166 303.2)
XYZxyz(8.1475, 4.2277, 22.5725)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531985 #4B8519
analogous
#1D1985 #531985 #851981
triadic
#531985 #855319 #198553
tetradic
#531985 #851D19 #4B8519 #198185
square
#531985 #851D19 #4B8519 #198185
split-complementary
#531985 #818519 #19851D
monochromatic
#13061E #330F51 #531985 #7323B9 #923EDB

Accessibility & contrast

On white

11.38
#531985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531985
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531985#FFFFFF#000000##FFFFFF
##5319851.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#49364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531985;
/* rgb */ color: rgb(83, 25, 133);
/* oklch */ color: oklch(36.9% 0.166 303.2);
Tailwind
colors: {
  custom: {
    50: '#895da9',
    500: '#531985',
    950: '#000000',
  },
}
SCSS
$custom: #531985;
$custom-light: #895da9;
$custom-dark: #000000;
JSON
{
  "hex": "#531985",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 272.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36946,
    "c": 0.16601,
    "h": 303.2
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#531985
secondary
#78B941
accent
#EB3D8D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531985

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

Preview Lab → · Contrast checker → · Palette generator →

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