#531881#531881

#531881 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.163 H 304.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#531881
RGBrgb(83, 24, 129)
HSLhsl(274, 69%, 30%)
HSVhsv(274, 81%, 51%)
CMYKcmyk(35.7%, 81.4%, 0%, 49.4%)
CIE-LABlab(23.93, 45.70, -46.97)
CIE-LCHlch(23.93, 65.54, 314.22°)
OKLaboklab(36.5% 0.0928 -0.1339)
OKLCHoklch(36.5% 0.163 304.7)
XYZxyz(7.8555, 4.0773, 21.1378)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531881 #468118
analogous
#1E1881 #531881 #81187B
triadic
#531881 #815318 #188153
tetradic
#531881 #811E18 #468118 #187B81
square
#531881 #811E18 #468118 #187B81
split-complementary
#531881 #7B8118 #18811E
monochromatic
#11051A #320E4D #531881 #7422B5 #9439DA

Accessibility & contrast

On white

11.57
#531881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#531881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531881
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531881#FFFFFF#000000##FFFFFF
##5318811.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#4A344D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531881;
/* rgb */ color: rgb(83, 24, 129);
/* oklch */ color: oklch(36.5% 0.163 304.7);
Tailwind
colors: {
  custom: {
    50: '#885da6',
    500: '#531881',
    950: '#000000',
  },
}
SCSS
$custom: #531881;
$custom-light: #885da6;
$custom-dark: #000000;
JSON
{
  "hex": "#531881",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 273.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.36499,
    "c": 0.1629,
    "h": 304.7
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#531881
secondary
#73B540
accent
#EB3C89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531881

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

Preview Lab → · Contrast checker → · Palette generator →

#531881 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva