#5130BF#5130BF

#5130BF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.207 H 284.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5130BF
RGBrgb(81, 48, 191)
HSLhsl(254, 60%, 47%)
HSVhsv(254, 75%, 75%)
CMYKcmyk(57.6%, 74.9%, 0%, 25.1%)
CIE-LABlab(33.19, 51.11, -69.52)
CIE-LCHlch(33.19, 86.28, 306.32°)
OKLaboklab(44.67% 0.0533 -0.2002)
OKLCHoklch(44.67% 0.207 284.9)
XYZxyz(13.8514, 7.6240, 50.0218)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5130BF #9EBF30
analogous
#3057BF #5130BF #9930BF
triadic
#5130BF #BF5130 #30BF51
tetradic
#5130BF #BF3057 #9EBF30 #30BF99
square
#5130BF #BF3057 #9EBF30 #30BF99
split-complementary
#5130BF #BF9930 #57BF30
monochromatic
#28175D #3C248E #5130BF #7457D5 #9D88E1

Accessibility & contrast

On white

8.32
#5130BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5130BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5130BF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5130BF#FFFFFF#000000##FFFFFF
##5130BF1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#165875
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5130bf;
/* rgb */ color: rgb(81, 48, 191);
/* oklch */ color: oklch(44.7% 0.207 284.9);
Tailwind
colors: {
  custom: {
    50: '#8e6cd4',
    500: '#5130bf',
    950: '#000000',
  },
}
SCSS
$custom: #5130bf;
$custom-light: #8e6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5130bf",
  "rgb": {
    "r": 81,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 253.846,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44673,
    "c": 0.2072,
    "h": 284.9
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#5130BF
secondary
#BACB80
accent
#E345BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5130BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5130BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva