#531A7D#531A7D

#531A7D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 306.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#531A7D
RGBrgb(83, 26, 125)
HSLhsl(275, 66%, 30%)
HSVhsv(275, 79%, 49%)
CMYKcmyk(33.6%, 79.2%, 0%, 51%)
CIE-LABlab(23.86, 43.93, -44.54)
CIE-LCHlch(23.86, 62.56, 314.61°)
OKLaboklab(36.35% 0.0921 -0.1267)
OKLCHoklch(36.35% 0.157 306)
XYZxyz(7.6375, 4.0585, 19.7791)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531A7D #447D1A
analogous
#211A7D #531A7D #7D1A76
triadic
#531A7D #7D531A #1A7D53
tetradic
#531A7D #7D211A #447D1A #1A767D
square
#531A7D #7D211A #447D1A #1A767D
split-complementary
#531A7D #767D1A #1A7D21
monochromatic
#110519 #310F4A #531A7D #7525B0 #943BD6

Accessibility & contrast

On white

11.59
#531A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#531A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531A7D
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531A7D#FFFFFF#000000##FFFFFF
##531A7D1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#4B334B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #531a7d;
/* rgb */ color: rgb(83, 26, 125);
/* oklch */ color: oklch(36.4% 0.157 306.0);
Tailwind
colors: {
  custom: {
    50: '#885da3',
    500: '#531a7d',
    950: '#000000',
  },
}
SCSS
$custom: #531a7d;
$custom-light: #885da3;
$custom-dark: #000000;
JSON
{
  "hex": "#531a7d",
  "rgb": {
    "r": 83,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 274.545,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3635,
    "c": 0.15666,
    "h": 306
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#531A7D
secondary
#71B142
accent
#E93F87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #531A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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