#531F89#531F89

#531F89 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.164 H 301.0°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#531F89
RGBrgb(83, 31, 137)
HSLhsl(269, 63%, 33%)
HSVhsv(269, 77%, 54%)
CMYKcmyk(39.4%, 77.4%, 0%, 46.3%)
CIE-LABlab(25.64, 44.74, -49.19)
CIE-LCHlch(25.64, 66.50, 312.29°)
OKLaboklab(37.91% 0.0845 -0.1405)
OKLCHoklch(37.91% 0.164 301)
XYZxyz(8.5715, 4.6251, 24.1032)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531F89 #55891F
analogous
#1F2089 #531F89 #881F89
triadic
#531F89 #89531F #1F8953
tetradic
#531F89 #891F20 #55891F #1F8988
square
#531F89 #891F20 #55891F #1F8988
split-complementary
#531F89 #89881F #20891F
monochromatic
#170825 #351457 #531F89 #712ABB #904CD6

Accessibility & contrast

On white

10.91
#531F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531F89
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531F89#FFFFFF#000000##FFFFFF
##531F891.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#473A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531f89;
/* rgb */ color: rgb(83, 31, 137);
/* oklch */ color: oklch(37.9% 0.164 301.0);
Tailwind
colors: {
  custom: {
    50: '#8961ac',
    500: '#531f89',
    950: '#000000',
  },
}
SCSS
$custom: #531f89;
$custom-light: #8961ac;
$custom-dark: #000000;
JSON
{
  "hex": "#531f89",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 269.434,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37914,
    "c": 0.1639,
    "h": 301
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#531F89
secondary
#83B94B
accent
#E64295
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #531F89

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

Preview Lab → · Contrast checker → · Palette generator →

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