#531E7A#531E7A

#531E7A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.149 H 306.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#531E7A
RGBrgb(83, 30, 122)
HSLhsl(275, 61%, 30%)
HSVhsv(275, 75%, 48%)
CMYKcmyk(32%, 75.4%, 0%, 52.2%)
CIE-LABlab(24.23, 41.45, -42.03)
CIE-LCHlch(24.23, 59.03, 314.60°)
OKLaboklab(36.53% 0.0888 -0.1194)
OKLCHoklch(36.53% 0.149 306.6)
XYZxyz(7.5436, 4.1728, 18.8166)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E7A #457A1E
analogous
#251E7A #531E7A #7A1E73
triadic
#531E7A #7A531E #1E7A53
tetradic
#531E7A #7A251E #457A1E #1E737A
square
#531E7A #7A251E #457A1E #1E737A
split-complementary
#531E7A #737A1E #1E7A25
monochromatic
#110619 #321249 #531E7A #742AAB #9442D0

Accessibility & contrast

On white

11.45
#531E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#531E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E7A
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E7A#FFFFFF#000000##FFFFFF
##531E7A1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#4C344A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531e7a;
/* rgb */ color: rgb(83, 30, 122);
/* oklch */ color: oklch(36.5% 0.149 306.6);
Tailwind
colors: {
  custom: {
    50: '#875fa1',
    500: '#531e7a',
    950: '#000000',
  },
}
SCSS
$custom: #531e7a;
$custom-light: #875fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#531e7a",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 274.565,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36534,
    "c": 0.14878,
    "h": 306.6
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#531E7A
secondary
#72AE46
accent
#E44488
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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