#531A8E#531A8E

#531A8E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.174 H 300.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#531A8E
RGBrgb(83, 26, 142)
HSLhsl(269, 69%, 33%)
HSVhsv(269, 82%, 56%)
CMYKcmyk(41.5%, 81.7%, 0%, 44.3%)
CIE-LABlab(25.35, 48.10, -52.77)
CIE-LCHlch(25.35, 71.41, 312.35°)
OKLaboklab(37.85% 0.0873 -0.1509)
OKLCHoklch(37.85% 0.174 300.1)
XYZxyz(8.8179, 4.5307, 25.9959)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A8E #558E1A
analogous
#1A1B8E #531A8E #8D1A8E
triadic
#531A8E #8E531A #1A8E53
tetradic
#531A8E #8E1A1B #558E1A #1A8E8D
square
#531A8E #8E1A1B #558E1A #1A8E8D
split-complementary
#531A8E #8E8D1A #1B8E1A
monochromatic
#170727 #35115A #531A8E #7123C2 #9045DD

Accessibility & contrast

On white

11.02
#531A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531A8E
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A8E#FFFFFF#000000##FFFFFF
##531A8E1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#453A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #531a8e;
/* rgb */ color: rgb(83, 26, 142);
/* oklch */ color: oklch(37.9% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a5eb0',
    500: '#531a8e',
    950: '#000000',
  },
}
SCSS
$custom: #531a8e;
$custom-light: #8a5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#531a8e",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 269.483,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37852,
    "c": 0.17437,
    "h": 300.1
  },
  "luminance": 0.04531
}

Semantic roles & 50–950 ramp

primary
#531A8E
secondary
#83BE45
accent
#EC3C95
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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