#531FA5#531FA5

#531FA5 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.5% C 0.194 H 293.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#531FA5
RGBrgb(83, 31, 165)
HSLhsl(263, 68%, 38%)
HSVhsv(263, 81%, 65%)
CMYKcmyk(49.7%, 81.2%, 0%, 35.3%)
CIE-LABlab(28.21, 51.97, -62.19)
CIE-LCHlch(28.21, 81.05, 309.89°)
OKLaboklab(40.49% 0.0761 -0.1786)
OKLCHoklch(40.49% 0.194 293.1)
XYZxyz(10.8469, 5.5352, 36.0869)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FA5 #71A51F
analogous
#1F2EA5 #531FA5 #961FA5
triadic
#531FA5 #A5531F #1FA553
tetradic
#531FA5 #A51F2E #71A51F #1FA596
square
#531FA5 #A51F2E #71A51F #1FA596
split-complementary
#531FA5 #A5961F #2EA51F
monochromatic
#1F0C3E #391571 #531FA5 #6D2AD7 #915EE1

Accessibility & contrast

On white

9.97
#531FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #531FA5
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FA5#FFFFFF#000000##FFFFFF
##531FA51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#394663
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #531fa5;
/* rgb */ color: rgb(83, 31, 165);
/* oklch */ color: oklch(40.5% 0.194 293.1);
Tailwind
colors: {
  custom: {
    50: '#8c62c1',
    500: '#531fa5',
    950: '#000000',
  },
}
SCSS
$custom: #531fa5;
$custom-light: #8c62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#531fa5",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 263.284,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40493,
    "c": 0.1941,
    "h": 293.1
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#531FA5
secondary
#9CC55B
accent
#EB3DA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #531FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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