#531EA1#531EA1

#531EA1 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 40.0% C 0.191 H 294.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#531EA1
RGBrgb(83, 30, 161)
HSLhsl(264, 69%, 37%)
HSVhsv(264, 81%, 63%)
CMYKcmyk(48.4%, 81.4%, 0%, 36.9%)
CIE-LABlab(27.68, 51.34, -60.62)
CIE-LCHlch(27.68, 79.44, 310.26°)
OKLaboklab(40.01% 0.0782 -0.174)
OKLCHoklch(40.01% 0.191 294.2)
XYZxyz(10.4628, 5.3404, 34.1908)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531EA1 #6CA11E
analogous
#1E2AA1 #531EA1 #951EA1
triadic
#531EA1 #A1531E #1EA153
tetradic
#531EA1 #A11E2A #6CA11E #1EA195
square
#531EA1 #A11E2A #6CA11E #1EA195
split-complementary
#531EA1 #A1951E #2AA11E
monochromatic
#1E0B3A #38146D #531EA1 #6E28D5 #9059E0

Accessibility & contrast

On white

10.15
#531EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#531EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531EA1
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531EA1#FFFFFF#000000##FFFFFF
##531EA11.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#3B4460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #531ea1;
/* rgb */ color: rgb(83, 30, 161);
/* oklch */ color: oklch(40.0% 0.191 294.2);
Tailwind
colors: {
  custom: {
    50: '#8c61be',
    500: '#531ea1',
    950: '#000000',
  },
}
SCSS
$custom: #531ea1;
$custom-light: #8c61be;
$custom-dark: #000000;
JSON
{
  "hex": "#531ea1",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 264.275,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.19072,
    "h": 294.2
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#531EA1
secondary
#98C457
accent
#EB3CA5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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