#531EA0#531EA0

#531EA0 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.190 H 294.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#531EA0
RGBrgb(83, 30, 160)
HSLhsl(264, 68%, 37%)
HSVhsv(264, 81%, 63%)
CMYKcmyk(48.1%, 81.3%, 0%, 37.3%)
CIE-LABlab(27.59, 51.08, -60.17)
CIE-LCHlch(27.59, 78.93, 310.33°)
OKLaboklab(39.92% 0.0785 -0.1727)
OKLCHoklch(39.92% 0.19 294.4)
XYZxyz(10.3750, 5.3053, 33.7283)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531EA0 #6BA01E
analogous
#1E2AA0 #531EA0 #941EA0
triadic
#531EA0 #A0531E #1EA053
tetradic
#531EA0 #A01E2A #6BA01E #1EA094
square
#531EA0 #A01E2A #6BA01E #1EA094
split-complementary
#531EA0 #A0941E #2AA01E
monochromatic
#1E0B39 #38146C #531EA0 #6E28D4 #9059E0

Accessibility & contrast

On white

10.19
#531EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#531EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531EA0
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531EA0#FFFFFF#000000##FFFFFF
##531EA01.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#3C4460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #531ea0;
/* rgb */ color: rgb(83, 30, 160);
/* oklch */ color: oklch(39.9% 0.190 294.4);
Tailwind
colors: {
  custom: {
    50: '#8c61bd',
    500: '#531ea0',
    950: '#000000',
  },
}
SCSS
$custom: #531ea0;
$custom-light: #8c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#531ea0",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 264.462,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39917,
    "c": 0.18966,
    "h": 294.4
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#531EA0
secondary
#97C456
accent
#EB3DA4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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