#531381#531381

#531381 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.168 H 305.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#531381
RGBrgb(83, 19, 129)
HSLhsl(275, 74%, 29%)
HSVhsv(275, 85%, 51%)
CMYKcmyk(35.7%, 85.3%, 0%, 49.4%)
CIE-LABlab(23.30, 47.51, -47.98)
CIE-LCHlch(23.30, 67.53, 314.72°)
OKLaboklab(36.07% 0.0968 -0.1368)
OKLCHoklch(36.07% 0.168 305.3)
XYZxyz(7.7617, 3.8898, 21.1065)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531381 #418113
analogous
#1C1381 #531381 #811378
triadic
#531381 #815313 #138153
tetradic
#531381 #811C13 #418113 #137881
square
#531381 #811C13 #418113 #137881
split-complementary
#531381 #788113 #13811C
monochromatic
#11041B #310B4C #531381 #751BB6 #962EE0

Accessibility & contrast

On white

11.81
#531381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#531381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531381
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531381#FFFFFF#000000##FFFFFF
##5313811.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#4A324C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #531381;
/* rgb */ color: rgb(83, 19, 129);
/* oklch */ color: oklch(36.1% 0.168 305.3);
Tailwind
colors: {
  custom: {
    50: '#895ba6',
    500: '#531381',
    950: '#000000',
  },
}
SCSS
$custom: #531381;
$custom-light: #895ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#531381",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 274.909,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36066,
    "c": 0.16756,
    "h": 305.3
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#531381
secondary
#6EB63A
accent
#F13785
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #531381

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

Preview Lab → · Contrast checker → · Palette generator →

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