#531E8D#531E8D

#531E8D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.169 H 299.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#531E8D
RGBrgb(83, 30, 141)
HSLhsl(269, 65%, 34%)
HSVhsv(269, 79%, 55%)
CMYKcmyk(41.1%, 78.7%, 0%, 44.7%)
CIE-LABlab(25.83, 46.20, -51.37)
CIE-LCHlch(25.83, 69.09, 311.97°)
OKLaboklab(38.16% 0.0843 -0.1468)
OKLCHoklch(38.16% 0.169 299.9)
XYZxyz(8.8381, 4.6905, 25.6339)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E8D #588D1E
analogous
#1E208D #531E8D #8A1E8D
triadic
#531E8D #8D531E #1E8D53
tetradic
#531E8D #8D1E20 #588D1E #1E8D8A
square
#531E8D #8D1E20 #588D1E #1E8D8A
split-complementary
#531E8D #8D8A1E #208D1E
monochromatic
#180928 #35135B #531E8D #7129BF #904CD9

Accessibility & contrast

On white

10.83
#531E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#531E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E8D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E8D#FFFFFF#000000##FFFFFF
##531E8D1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#453C55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531e8d;
/* rgb */ color: rgb(83, 30, 141);
/* oklch */ color: oklch(38.2% 0.169 299.9);
Tailwind
colors: {
  custom: {
    50: '#8960af',
    500: '#531e8d',
    950: '#000000',
  },
}
SCSS
$custom: #531e8d;
$custom-light: #8960af;
$custom-dark: #000000;
JSON
{
  "hex": "#531e8d",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 268.649,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.16931,
    "h": 299.9
  },
  "luminance": 0.04691
}

Semantic roles & 50–950 ramp

primary
#531E8D
secondary
#86BC4B
accent
#E84098
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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