#531FA6#531FA6

#531FA6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.195 H 292.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#531FA6
RGBrgb(83, 31, 166)
HSLhsl(263, 69%, 39%)
HSVhsv(263, 81%, 65%)
CMYKcmyk(50%, 81.3%, 0%, 34.9%)
CIE-LABlab(28.31, 52.23, -62.63)
CIE-LCHlch(28.31, 81.55, 309.83°)
OKLaboklab(40.59% 0.0758 -0.1799)
OKLCHoklch(40.59% 0.195 292.8)
XYZxyz(10.9383, 5.5718, 36.5681)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA6 #72A61F
analogous
#1F2EA6 #531FA6 #961FA6
triadic
#531FA6 #A6531F #1FA653
tetradic
#531FA6 #A61F2E #72A61F #1FA696
square
#531FA6 #A61F2E #72A61F #1FA696
split-complementary
#531FA6 #A6961F #2EA61F
monochromatic
#1F0C3F #391572 #531FA6 #6D2BD7 #915EE1

Accessibility & contrast

On white

9.93
#531FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#531FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FA6
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA6#FFFFFF#000000##FFFFFF
##531FA61.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#384763
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #531fa6;
/* rgb */ color: rgb(83, 31, 166);
/* oklch */ color: oklch(40.6% 0.195 292.8);
Tailwind
colors: {
  custom: {
    50: '#8d62c2',
    500: '#531fa6',
    950: '#000000',
  },
}
SCSS
$custom: #531fa6;
$custom-light: #8d62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa6",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 263.111,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.19517,
    "h": 292.8
  },
  "luminance": 0.05572
}

Semantic roles & 50–950 ramp

primary
#531FA6
secondary
#9DC55B
accent
#EB3CA8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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