#531D90#531D90

#531D90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.174 H 299.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#531D90
RGBrgb(83, 29, 144)
HSLhsl(268, 66%, 34%)
HSVhsv(268, 80%, 56%)
CMYKcmyk(42.4%, 79.9%, 0%, 43.5%)
CIE-LABlab(25.95, 47.39, -53.03)
CIE-LCHlch(25.95, 71.12, 311.78°)
OKLaboklab(38.33% 0.0843 -0.1517)
OKLCHoklch(38.33% 0.174 299.1)
XYZxyz(9.0394, 4.7312, 26.8171)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531D90 #5A901D
analogous
#1D2190 #531D90 #8D1D90
triadic
#531D90 #90531D #1D9053
tetradic
#531D90 #901D21 #5A901D #1D908D
square
#531D90 #901D21 #5A901D #1D908D
split-complementary
#531D90 #908D1D #21901D
monochromatic
#18082A #36135D #531D90 #7027C3 #8F4CDB

Accessibility & contrast

On white

10.79
#531D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531D90
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531D90#FFFFFF#000000##FFFFFF
##531D901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#443C56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #531d90;
/* rgb */ color: rgb(83, 29, 144);
/* oklch */ color: oklch(38.3% 0.174 299.1);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#531d90',
    950: '#000000',
  },
}
SCSS
$custom: #531d90;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#531d90",
  "rgb": {
    "r": 83,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 268.174,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.17355,
    "h": 299.1
  },
  "luminance": 0.04731
}

Semantic roles & 50–950 ramp

primary
#531D90
secondary
#88BD4B
accent
#E93E99
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #531D90

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

Preview Lab → · Contrast checker → · Palette generator →

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