#531E8F#531E8F

#531E8F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.171 H 299.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#531E8F
RGBrgb(83, 30, 143)
HSLhsl(268, 65%, 34%)
HSVhsv(268, 79%, 56%)
CMYKcmyk(42%, 79%, 0%, 43.9%)
CIE-LABlab(26.01, 46.71, -52.32)
CIE-LCHlch(26.01, 70.14, 311.76°)
OKLaboklab(38.34% 0.0838 -0.1496)
OKLCHoklch(38.34% 0.171 299.2)
XYZxyz(8.9882, 4.7506, 26.4247)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E8F #5A8F1E
analogous
#1E218F #531E8F #8C1E8F
triadic
#531E8F #8F531E #1E8F53
tetradic
#531E8F #8F1E21 #5A8F1E #1E8F8C
square
#531E8F #8F1E21 #5A8F1E #1E8F8C
split-complementary
#531E8F #8F8C1E #218F1E
monochromatic
#18092A #36135C #531E8F #7029C2 #8F4EDA

Accessibility & contrast

On white

10.77
#531E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#531E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E8F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E8F#FFFFFF#000000##FFFFFF
##531E8F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#443C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #531e8f;
/* rgb */ color: rgb(83, 30, 143);
/* oklch */ color: oklch(38.3% 0.171 299.2);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#531e8f',
    950: '#000000',
  },
}
SCSS
$custom: #531e8f;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#531e8f",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 268.142,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38339,
    "c": 0.17146,
    "h": 299.2
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#531E8F
secondary
#88BC4C
accent
#E84099
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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