#531E90#531E90

#531E90 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.173 H 298.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#531E90
RGBrgb(83, 30, 144)
HSLhsl(268, 66%, 34%)
HSVhsv(268, 79%, 56%)
CMYKcmyk(42.4%, 79.2%, 0%, 43.5%)
CIE-LABlab(26.10, 46.97, -52.79)
CIE-LCHlch(26.10, 70.66, 311.66°)
OKLaboklab(38.43% 0.0835 -0.151)
OKLCHoklch(38.43% 0.173 298.9)
XYZxyz(9.0643, 4.7810, 26.8254)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E90 #5B901E
analogous
#1E2290 #531E90 #8C1E90
triadic
#531E90 #90531E #1E9053
tetradic
#531E90 #901E22 #5B901E #1E908C
square
#531E90 #901E22 #5B901E #1E908C
split-complementary
#531E90 #908C1E #22901E
monochromatic
#19092B #36135D #531E90 #7029C3 #8F4EDA

Accessibility & contrast

On white

10.74
#531E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#531E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E90
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E90#FFFFFF#000000##FFFFFF
##531E901.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#443D56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #531e90;
/* rgb */ color: rgb(83, 30, 144);
/* oklch */ color: oklch(38.4% 0.173 298.9);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#531e90',
    950: '#000000',
  },
}
SCSS
$custom: #531e90;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#531e90",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 267.895,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.17254,
    "h": 298.9
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#531E90
secondary
#89BD4D
accent
#E83F9A
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531E90

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

Preview Lab → · Contrast checker → · Palette generator →

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