#531E7B#531E7B

#531E7B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.150 H 306.2°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#531E7B
RGBrgb(83, 30, 123)
HSLhsl(274, 61%, 30%)
HSVhsv(274, 76%, 48%)
CMYKcmyk(32.5%, 75.6%, 0%, 51.8%)
CIE-LABlab(24.31, 41.69, -42.54)
CIE-LCHlch(24.31, 59.56, 314.43°)
OKLaboklab(36.62% 0.0886 -0.1209)
OKLCHoklch(36.62% 0.15 306.2)
XYZxyz(7.6059, 4.1977, 19.1446)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531E7B #467B1E
analogous
#251E7B #531E7B #7B1E74
triadic
#531E7B #7B531E #1E7B53
tetradic
#531E7B #7B251E #467B1E #1E747B
square
#531E7B #7B251E #467B1E #1E747B
split-complementary
#531E7B #747B1E #1E7B25
monochromatic
#110619 #32124A #531E7B #742AAC #9442D1

Accessibility & contrast

On white

11.42
#531E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#531E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531E7B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531E7B#FFFFFF#000000##FFFFFF
##531E7B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#4C344B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #531e7b;
/* rgb */ color: rgb(83, 30, 123);
/* oklch */ color: oklch(36.6% 0.150 306.2);
Tailwind
colors: {
  custom: {
    50: '#885fa2',
    500: '#531e7b',
    950: '#000000',
  },
}
SCSS
$custom: #531e7b;
$custom-light: #885fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#531e7b",
  "rgb": {
    "r": 83,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 274.194,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.36616,
    "c": 0.14986,
    "h": 306.2
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#531E7B
secondary
#73AE46
accent
#E44489
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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