#531FB4#531FB4

#531FB4 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.210 H 289.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#531FB4
RGBrgb(83, 31, 180)
HSLhsl(261, 71%, 41%)
HSVhsv(261, 83%, 71%)
CMYKcmyk(53.9%, 82.8%, 0%, 29.4%)
CIE-LABlab(29.70, 55.89, -68.74)
CIE-LCHlch(29.70, 88.59, 309.11°)
OKLaboklab(41.97% 0.0709 -0.1977)
OKLCHoklch(41.97% 0.21 289.7)
XYZxyz(12.2931, 6.1137, 43.7035)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FB4 #80B41F
analogous
#1F35B4 #531FB4 #9E1FB4
triadic
#531FB4 #B4531F #1FB453
tetradic
#531FB4 #B41F35 #80B41F #1FB49E
square
#531FB4 #B41F35 #80B41F #1FB49E
split-complementary
#531FB4 #B49E1F #35B41F
monochromatic
#230D4C #3B1680 #531FB4 #6F34DC #9468E5

Accessibility & contrast

On white

9.45
#531FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#531FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FB4
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FB4#FFFFFF#000000##FFFFFF
##531FB41.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#2D4D6C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #531fb4;
/* rgb */ color: rgb(83, 31, 180);
/* oklch */ color: oklch(42.0% 0.210 289.7);
Tailwind
colors: {
  custom: {
    50: '#8f63cc',
    500: '#531fb4',
    950: '#000000',
  },
}
SCSS
$custom: #531fb4;
$custom-light: #8f63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#531fb4",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 180
  },
  "hsl": {
    "h": 260.94,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.21005,
    "h": 289.7
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#531FB4
secondary
#A7CB64
accent
#ED3AAF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #531FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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