#531A93#531A93

#531A93 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.180 H 298.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#531A93
RGBrgb(83, 26, 147)
HSLhsl(268, 70%, 34%)
HSVhsv(268, 82%, 58%)
CMYKcmyk(43.5%, 82.3%, 0%, 42.4%)
CIE-LABlab(25.82, 49.35, -55.11)
CIE-LCHlch(25.82, 73.98, 311.84°)
OKLaboklab(38.31% 0.0857 -0.1578)
OKLCHoklch(38.31% 0.18 298.5)
XYZxyz(9.2018, 4.6842, 28.0174)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A93 #5A931A
analogous
#1A1E93 #531A93 #901A93
triadic
#531A93 #93531A #1A9353
tetradic
#531A93 #931A1E #5A931A #1A9390
square
#531A93 #931A1E #5A931A #1A9390
split-complementary
#531A93 #93901A #1E931A
monochromatic
#18082B #36115F #531A93 #7023C7 #8F49DF

Accessibility & contrast

On white

10.84
#531A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#531A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A93
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A93#FFFFFF#000000##FFFFFF
##531A931.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003C91
Tritanopia (blue-blind)
#433C57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531a93;
/* rgb */ color: rgb(83, 26, 147);
/* oklch */ color: oklch(38.3% 0.180 298.5);
Tailwind
colors: {
  custom: {
    50: '#8a5fb4',
    500: '#531a93',
    950: '#000000',
  },
}
SCSS
$custom: #531a93;
$custom-light: #8a5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#531a93",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 268.264,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.17957,
    "h": 298.5
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#531A93
secondary
#88C048
accent
#ED3B99
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #531A93

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

Preview Lab → · Contrast checker → · Palette generator →

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