#531E7D#531E7D

#531E7D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.152 H 305.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#531E7D
RGBrgb(83, 30, 125)
HSLhsl(273, 61%, 30%)
HSVhsv(273, 76%, 49%)
CMYKcmyk(33.6%, 76%, 0%, 51%)
CIE-LABlab(24.48, 42.19, -43.54)
CIE-LCHlch(24.48, 60.63, 314.09°)
OKLaboklab(36.78% 0.0882 -0.1238)
OKLCHoklch(36.78% 0.152 305.5)
XYZxyz(7.7324, 4.2483, 19.8107)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E7D #487D1E
analogous
#241E7D #531E7D #7D1E77
triadic
#531E7D #7D531E #1E7D53
tetradic
#531E7D #7D241E #487D1E #1E777D
square
#531E7D #7D241E #487D1E #1E777D
split-complementary
#531E7D #777D1E #1E7D24
monochromatic
#11061A #32124C #531E7D #742AAE #9343D2

Accessibility & contrast

On white

11.35
#531E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#531E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E7D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E7D#FFFFFF#000000##FFFFFF
##531E7D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#4B354C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531e7d;
/* rgb */ color: rgb(83, 30, 125);
/* oklch */ color: oklch(36.8% 0.152 305.5);
Tailwind
colors: {
  custom: {
    50: '#885fa3',
    500: '#531e7d',
    950: '#000000',
  },
}
SCSS
$custom: #531e7d;
$custom-light: #885fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#531e7d",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 273.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.15203,
    "h": 305.5
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#531E7D
secondary
#75B046
accent
#E4438B
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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