#531FA9#531FA9

#531FA9 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.198 H 292.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#531FA9
RGBrgb(83, 31, 169)
HSLhsl(263, 69%, 39%)
HSVhsv(263, 82%, 66%)
CMYKcmyk(50.9%, 81.7%, 0%, 33.7%)
CIE-LABlab(28.60, 53.02, -63.96)
CIE-LCHlch(28.60, 83.08, 309.66°)
OKLaboklab(40.88% 0.0748 -0.1837)
OKLCHoklch(40.88% 0.198 292.1)
XYZxyz(11.2167, 5.6831, 38.0344)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA9 #75A91F
analogous
#1F30A9 #531FA9 #981FA9
triadic
#531FA9 #A9531F #1FA953
tetradic
#531FA9 #A91F30 #75A91F #1FA998
square
#531FA9 #A91F30 #75A91F #1FA998
split-complementary
#531FA9 #A9981F #30A91F
monochromatic
#200C42 #3A1675 #531FA9 #6D2DD8 #9160E2

Accessibility & contrast

On white

9.83
#531FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#531FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FA9
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA9#FFFFFF#000000##FFFFFF
##531FA91.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#364865
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #531fa9;
/* rgb */ color: rgb(83, 31, 169);
/* oklch */ color: oklch(40.9% 0.198 292.1);
Tailwind
colors: {
  custom: {
    50: '#8d62c4',
    500: '#531fa9',
    950: '#000000',
  },
}
SCSS
$custom: #531fa9;
$custom-light: #8d62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa9",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 262.609,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40881,
    "c": 0.19837,
    "h": 292.1
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#531FA9
secondary
#9FC75D
accent
#EC3CAA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #531FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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