#531B72#531B72

#531B72 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.144 H 310.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#531B72
RGBrgb(83, 27, 114)
HSLhsl(279, 62%, 28%)
HSVhsv(279, 76%, 45%)
CMYKcmyk(27.2%, 76.3%, 0%, 55.3%)
CIE-LABlab(23.13, 40.89, -38.71)
CIE-LCHlch(23.13, 56.30, 316.57°)
OKLaboklab(35.55% 0.0934 -0.1096)
OKLCHoklch(35.55% 0.144 310.4)
XYZxyz(6.9959, 3.8379, 16.2886)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B72 #3A721B
analogous
#281B72 #531B72 #721B65
triadic
#531B72 #72531B #1B7253
tetradic
#531B72 #72281B #3A721B #1B6572
square
#531B72 #72281B #3A721B #1B6572
split-complementary
#531B72 #65721B #1B7228
monochromatic
#120619 #2F0F41 #531B72 #7727A3 #9A38D0

Accessibility & contrast

On white

11.88
#531B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#531B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B72
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B72#FFFFFF#000000##FFFFFF
##531B721.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#4F2F45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #531b72;
/* rgb */ color: rgb(83, 27, 114);
/* oklch */ color: oklch(35.6% 0.144 310.4);
Tailwind
colors: {
  custom: {
    50: '#875d9b',
    500: '#531b72',
    950: '#000000',
  },
}
SCSS
$custom: #531b72;
$custom-light: #875d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#531b72",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 278.621,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.14399,
    "h": 310.4
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#531B72
secondary
#66A742
accent
#E5437D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #531B72

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

Preview Lab → · Contrast checker → · Palette generator →

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