#531FBC#531FBC

#531FBC is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.218 H 288.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#531FBC
RGBrgb(83, 31, 188)
HSLhsl(260, 72%, 43%)
HSVhsv(260, 84%, 74%)
CMYKcmyk(55.9%, 83.5%, 0%, 26.3%)
CIE-LABlab(30.52, 57.97, -72.14)
CIE-LCHlch(30.52, 92.55, 308.79°)
OKLaboklab(42.78% 0.068 -0.2076)
OKLCHoklch(42.78% 0.218 288.1)
XYZxyz(13.1317, 6.4491, 48.1201)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#531FBC #88BC1F
analogous
#1F39BC #531FBC #A11FBC
triadic
#531FBC #BC531F #1FBC53
tetradic
#531FBC #BC1F39 #88BC1F #1FBCA1
square
#531FBC #BC1F39 #88BC1F #1FBCA1
split-complementary
#531FBC #BCA11F #39BC1F
monochromatic
#250E53 #3C1687 #531FBC #703ADE #966EE7

Accessibility & contrast

On white

9.17
#531FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#531FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #531FBC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##531FBC#FFFFFF#000000##FFFFFF
##531FBC1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#245070
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #531fbc;
/* rgb */ color: rgb(83, 31, 188);
/* oklch */ color: oklch(42.8% 0.218 288.1);
Tailwind
colors: {
  custom: {
    50: '#9064d2',
    500: '#531fbc',
    950: '#000000',
  },
}
SCSS
$custom: #531fbc;
$custom-light: #9064d2;
$custom-dark: #000000;
JSON
{
  "hex": "#531fbc",
  "rgb": {
    "r": 83,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 259.873,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.21849,
    "h": 288.1
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#531FBC
secondary
#ACCD69
accent
#EE39B2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #531FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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