#531B8F#531B8F

#531B8F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.174 H 299.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#531B8F
RGBrgb(83, 27, 143)
HSLhsl(269, 68%, 33%)
HSVhsv(269, 81%, 56%)
CMYKcmyk(42%, 81.1%, 0%, 43.9%)
CIE-LABlab(25.58, 47.96, -53.02)
CIE-LCHlch(25.58, 71.49, 312.13°)
OKLaboklab(38.04% 0.0862 -0.1517)
OKLCHoklch(38.04% 0.174 299.6)
XYZxyz(8.9159, 4.6059, 26.4006)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531B8F #578F1B
analogous
#1B1D8F #531B8F #8D1B8F
triadic
#531B8F #8F531B #1B8F53
tetradic
#531B8F #8F1B1D #578F1B #1B8F8D
square
#531B8F #8F1B1D #578F1B #1B8F8D
split-complementary
#531B8F #8F8D1B #1D8F1B
monochromatic
#170828 #35115C #531B8F #7125C2 #9048DC

Accessibility & contrast

On white

10.93
#531B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#531B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531B8F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531B8F#FFFFFF#000000##FFFFFF
##531B8F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#453B55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531b8f;
/* rgb */ color: rgb(83, 27, 143);
/* oklch */ color: oklch(38.0% 0.174 299.6);
Tailwind
colors: {
  custom: {
    50: '#8a5fb1',
    500: '#531b8f',
    950: '#000000',
  },
}
SCSS
$custom: #531b8f;
$custom-light: #8a5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#531b8f",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 268.966,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38038,
    "c": 0.17446,
    "h": 299.6
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#531B8F
secondary
#85BE48
accent
#EB3D97
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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