#531A8F#531A8F

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

Color values

HEX#531A8F
RGBrgb(83, 26, 143)
HSLhsl(269, 69%, 33%)
HSVhsv(269, 82%, 56%)
CMYKcmyk(42%, 81.8%, 0%, 43.9%)
CIE-LABlab(25.45, 48.35, -53.24)
CIE-LCHlch(25.45, 71.92, 312.24°)
OKLaboklab(37.94% 0.087 -0.1523)
OKLCHoklch(37.94% 0.175 299.7)
XYZxyz(8.8933, 4.5609, 26.3931)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A8F #568F1A
analogous
#1A1B8F #531A8F #8D1A8F
triadic
#531A8F #8F531A #1A8F53
tetradic
#531A8F #8F1A1B #568F1A #1A8F8D
square
#531A8F #8F1A1B #568F1A #1A8F8D
split-complementary
#531A8F #8F8D1A #1B8F1A
monochromatic
#170727 #35115B #531A8F #7123C3 #9046DD

Accessibility & contrast

On white

10.98
#531A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#531A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A8F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A8F#FFFFFF#000000##FFFFFF
##531A8F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#453B55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531a8f;
/* rgb */ color: rgb(83, 26, 143);
/* oklch */ color: oklch(37.9% 0.175 299.7);
Tailwind
colors: {
  custom: {
    50: '#8a5eb1',
    500: '#531a8f',
    950: '#000000',
  },
}
SCSS
$custom: #531a8f;
$custom-light: #8a5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#531a8f",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 269.231,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37943,
    "c": 0.17541,
    "h": 299.7
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#531A8F
secondary
#84BF46
accent
#EC3C96
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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