#531BB4#531BB4

#531BB4 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.6% C 0.213 H 290.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#531BB4
RGBrgb(83, 27, 180)
HSLhsl(262, 74%, 41%)
HSVhsv(262, 85%, 71%)
CMYKcmyk(53.9%, 85%, 0%, 29.4%)
CIE-LABlab(29.20, 57.34, -69.56)
CIE-LCHlch(29.20, 90.14, 309.50°)
OKLaboklab(41.63% 0.0731 -0.2001)
OKLCHoklch(41.63% 0.213 290.1)
XYZxyz(12.1950, 5.9176, 43.6708)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531BB4 #7CB41B
analogous
#1B2FB4 #531BB4 #9F1BB4
triadic
#531BB4 #B4531B #1BB453
tetradic
#531BB4 #B41B2F #7CB41B #1BB49F
square
#531BB4 #B41B2F #7CB41B #1BB49F
split-complementary
#531BB4 #B49F1B #2FB41B
monochromatic
#220B4A #3A137F #531BB4 #6E2DDF #9362E7

Accessibility & contrast

On white

9.62
#531BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#531BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531BB4
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531BB4#FFFFFF#000000##FFFFFF
##531BB41.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#2D4B6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #531bb4;
/* rgb */ color: rgb(83, 27, 180);
/* oklch */ color: oklch(41.6% 0.213 290.1);
Tailwind
colors: {
  custom: {
    50: '#8f61cc',
    500: '#531bb4',
    950: '#000000',
  },
}
SCSS
$custom: #531bb4;
$custom-light: #8f61cc;
$custom-dark: #000000;
JSON
{
  "hex": "#531bb4",
  "rgb": {
    "r": 83,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 261.961,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4163,
    "c": 0.213,
    "h": 290.1
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#531BB4
secondary
#A4CC5F
accent
#F137AD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0514
muted
#7E7A82

Preview Lab

Preview with #531BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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