#531A9D#531A9D

#531A9D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.190 H 295.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#531A9D
RGBrgb(83, 26, 157)
HSLhsl(266, 72%, 36%)
HSVhsv(266, 83%, 62%)
CMYKcmyk(47.1%, 83.4%, 0%, 38.4%)
CIE-LABlab(26.77, 51.86, -59.69)
CIE-LCHlch(26.77, 79.07, 310.98°)
OKLaboklab(39.26% 0.0823 -0.1712)
OKLCHoklch(39.26% 0.19 295.7)
XYZxyz(10.0208, 5.0118, 32.3312)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A9D #649D1A
analogous
#1A229D #531A9D #941A9D
triadic
#531A9D #9D531A #1A9D53
tetradic
#531A9D #9D1A22 #649D1A #1A9D94
square
#531A9D #9D1A22 #649D1A #1A9D94
split-complementary
#531A9D #9D941A #229D1A
monochromatic
#1B0934 #371168 #531A9D #6F23D2 #8F4FE2

Accessibility & contrast

On white

10.49
#531A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#531A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A9D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A9D#FFFFFF#000000##FFFFFF
##531A9D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#3E415D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #531a9d;
/* rgb */ color: rgb(83, 26, 157);
/* oklch */ color: oklch(39.3% 0.190 295.7);
Tailwind
colors: {
  custom: {
    50: '#8c5fbb',
    500: '#531a9d',
    950: '#000000',
  },
}
SCSS
$custom: #531a9d;
$custom-light: #8c5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#531a9d",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 266.107,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.18995,
    "h": 295.7
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#531A9D
secondary
#91C44E
accent
#EE39A0
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #531A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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