#531CB4#531CB4

#531CB4 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.7% C 0.212 H 290.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#531CB4
RGBrgb(83, 28, 180)
HSLhsl(262, 73%, 41%)
HSVhsv(262, 84%, 71%)
CMYKcmyk(53.9%, 84.4%, 0%, 29.4%)
CIE-LABlab(29.32, 56.99, -69.36)
CIE-LCHlch(29.32, 89.77, 309.41°)
OKLaboklab(41.71% 0.0726 -0.1995)
OKLCHoklch(41.71% 0.212 290)
XYZxyz(12.2184, 5.9642, 43.6786)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531CB4 #7DB41C
analogous
#1C31B4 #531CB4 #9F1CB4
triadic
#531CB4 #B4531C #1CB453
tetradic
#531CB4 #B41C31 #7DB41C #1CB49F
square
#531CB4 #B41C31 #7DB41C #1CB49F
split-complementary
#531CB4 #B49F1C #31B41C
monochromatic
#220C4A #3B147F #531CB4 #6E2FDF #9364E7

Accessibility & contrast

On white

9.58
#531CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#531CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531CB4
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531CB4#FFFFFF#000000##FFFFFF
##531CB41.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#2D4C6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #531cb4;
/* rgb */ color: rgb(83, 28, 180);
/* oklch */ color: oklch(41.7% 0.212 290.0);
Tailwind
colors: {
  custom: {
    50: '#8f62cc',
    500: '#531cb4',
    950: '#000000',
  },
}
SCSS
$custom: #531cb4;
$custom-light: #8f62cc;
$custom-dark: #000000;
JSON
{
  "hex": "#531cb4",
  "rgb": {
    "r": 83,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 261.711,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41711,
    "c": 0.2123,
    "h": 290
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#531CB4
secondary
#A5CC60
accent
#F038AD
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #531CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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