#531A9F#531A9F

#531A9F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.192 H 295.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#531A9F
RGBrgb(83, 26, 159)
HSLhsl(266, 72%, 36%)
HSVhsv(266, 84%, 62%)
CMYKcmyk(47.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(26.96, 52.36, -60.59)
CIE-LCHlch(26.96, 80.08, 310.83°)
OKLaboklab(39.46% 0.0816 -0.1738)
OKLCHoklch(39.46% 0.192 295.1)
XYZxyz(10.1930, 5.0807, 33.2378)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A9F #669F1A
analogous
#1A249F #531A9F #961A9F
triadic
#531A9F #9F531A #1A9F53
tetradic
#531A9F #9F1A24 #669F1A #1A9F96
square
#531A9F #9F1A24 #669F1A #1A9F96
split-complementary
#531A9F #9F961A #249F1A
monochromatic
#1C0936 #38116A #531A9F #6E23D4 #8F51E3

Accessibility & contrast

On white

10.42
#531A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#531A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A9F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A9F#FFFFFF#000000##FFFFFF
##531A9F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#3C425E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #531a9f;
/* rgb */ color: rgb(83, 26, 159);
/* oklch */ color: oklch(39.5% 0.192 295.1);
Tailwind
colors: {
  custom: {
    50: '#8c60bd',
    500: '#531a9f',
    950: '#000000',
  },
}
SCSS
$custom: #531a9f;
$custom-light: #8c60bd;
$custom-dark: #000000;
JSON
{
  "hex": "#531a9f",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 265.714,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39456,
    "c": 0.19202,
    "h": 295.1
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#531A9F
secondary
#93C550
accent
#EF39A1
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #531A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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