#531E8A#531E8A

#531E8A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.166 H 300.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#531E8A
RGBrgb(83, 30, 138)
HSLhsl(269, 64%, 33%)
HSVhsv(269, 78%, 54%)
CMYKcmyk(39.9%, 78.3%, 0%, 45.9%)
CIE-LABlab(25.57, 45.44, -49.93)
CIE-LCHlch(25.57, 67.51, 312.30°)
OKLaboklab(37.89% 0.0851 -0.1426)
OKLCHoklch(37.89% 0.166 300.8)
XYZxyz(8.6179, 4.6025, 24.4742)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E8A #558A1E
analogous
#1E1F8A #531E8A #891E8A
triadic
#531E8A #8A531E #1E8A53
tetradic
#531E8A #8A1E1F #558A1E #1E8A89
square
#531E8A #8A1E1F #558A1E #1E8A89
split-complementary
#531E8A #8A891E #1F8A1E
monochromatic
#170825 #351358 #531E8A #7129BC #904BD8

Accessibility & contrast

On white

10.93
#531E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#531E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E8A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E8A#FFFFFF#000000##FFFFFF
##531E8A1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#473A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531e8a;
/* rgb */ color: rgb(83, 30, 138);
/* oklch */ color: oklch(37.9% 0.166 300.8);
Tailwind
colors: {
  custom: {
    50: '#8960ad',
    500: '#531e8a',
    950: '#000000',
  },
}
SCSS
$custom: #531e8a;
$custom-light: #8960ad;
$custom-dark: #000000;
JSON
{
  "hex": "#531e8a",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 269.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37893,
    "c": 0.16608,
    "h": 300.8
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#531E8A
secondary
#83BA4A
accent
#E74195
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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