#531A92#531A92

#531A92 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.179 H 298.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#531A92
RGBrgb(83, 26, 146)
HSLhsl(269, 70%, 34%)
HSVhsv(269, 82%, 57%)
CMYKcmyk(43.2%, 82.2%, 0%, 42.7%)
CIE-LABlab(25.72, 49.10, -54.65)
CIE-LCHlch(25.72, 73.46, 311.94°)
OKLaboklab(38.22% 0.086 -0.1564)
OKLCHoklch(38.22% 0.179 298.8)
XYZxyz(9.1236, 4.6530, 27.6060)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A92 #59921A
analogous
#1A1D92 #531A92 #8F1A92
triadic
#531A92 #92531A #1A9253
tetradic
#531A92 #921A1D #59921A #1A928F
square
#531A92 #921A1D #59921A #1A928F
split-complementary
#531A92 #928F1A #1D921A
monochromatic
#18072A #35115E #531A92 #7123C6 #8F48DE

Accessibility & contrast

On white

10.88
#531A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#531A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A92
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A92#FFFFFF#000000##FFFFFF
##531A921.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #531a92;
/* rgb */ color: rgb(83, 26, 146);
/* oklch */ color: oklch(38.2% 0.179 298.8);
Tailwind
colors: {
  custom: {
    50: '#8a5fb3',
    500: '#531a92',
    950: '#000000',
  },
}
SCSS
$custom: #531a92;
$custom-light: #8a5fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#531a92",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 268.5,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.17853,
    "h": 298.8
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#531A92
secondary
#87C048
accent
#ED3B98
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #531A92

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

Preview Lab → · Contrast checker → · Palette generator →

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