#531D88#531D88

#531D88 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.165 H 301.6°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#531D88
RGBrgb(83, 29, 136)
HSLhsl(270, 65%, 32%)
HSVhsv(270, 79%, 53%)
CMYKcmyk(39%, 78.7%, 0%, 46.7%)
CIE-LABlab(25.25, 45.37, -49.21)
CIE-LCHlch(25.25, 66.93, 312.67°)
OKLaboklab(37.61% 0.0866 -0.1405)
OKLCHoklch(37.61% 0.165 301.6)
XYZxyz(8.4495, 4.4953, 23.7103)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D88 #52881D
analogous
#1D1D88 #531D88 #881D88
triadic
#531D88 #88531D #1D8853
tetradic
#531D88 #881D1D #52881D #1D8888
square
#531D88 #881D1D #52881D #1D8888
split-complementary
#531D88 #88881D #1D881D
monochromatic
#150723 #341256 #531D88 #7228BA #9048D8

Accessibility & contrast

On white

11.06
#531D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#531D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531D88
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D88#FFFFFF#000000##FFFFFF
##531D881.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#473952
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531d88;
/* rgb */ color: rgb(83, 29, 136);
/* oklch */ color: oklch(37.6% 0.165 301.6);
Tailwind
colors: {
  custom: {
    50: '#895fac',
    500: '#531d88',
    950: '#000000',
  },
}
SCSS
$custom: #531d88;
$custom-light: #895fac;
$custom-dark: #000000;
JSON
{
  "hex": "#531d88",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 270.28,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37611,
    "c": 0.16501,
    "h": 301.6
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#531D88
secondary
#80BA47
accent
#E84093
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531D88

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

Preview Lab → · Contrast checker → · Palette generator →

#531D88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva