#5130C7#5130C7

#5130C7 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.216 H 283.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#5130C7
RGBrgb(81, 48, 199)
HSLhsl(253, 61%, 48%)
HSVhsv(253, 76%, 78%)
CMYKcmyk(59.3%, 75.9%, 0%, 22%)
CIE-LABlab(33.95, 53.41, -72.95)
CIE-LCHlch(33.95, 90.41, 306.21°)
OKLaboklab(45.44% 0.0513 -0.2102)
OKLCHoklch(45.44% 0.216 283.7)
XYZxyz(14.7559, 7.9858, 54.7856)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5130C7 #A6C730
analogous
#305AC7 #5130C7 #9D30C7
triadic
#5130C7 #C75130 #30C751
tetradic
#5130C7 #C7305A #A6C730 #30C79D
square
#5130C7 #C7305A #A6C730 #30C79D
split-complementary
#5130C7 #C79D30 #5AC730
monochromatic
#291864 #3D2496 #5130C7 #775CD8 #A18EE4

Accessibility & contrast

On white

8.09
#5130C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5130C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5130C7
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5130C7#FFFFFF#000000##FFFFFF
##5130C71.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5130c7;
/* rgb */ color: rgb(81, 48, 199);
/* oklch */ color: oklch(45.4% 0.216 283.7);
Tailwind
colors: {
  custom: {
    50: '#8f6dd9',
    500: '#5130c7',
    950: '#000000',
  },
}
SCSS
$custom: #5130c7;
$custom-light: #8f6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5130c7",
  "rgb": {
    "r": 81,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 253.113,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.21641,
    "h": 283.7
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#5130C7
secondary
#BECE85
accent
#E444C1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5130C7

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

Preview Lab → · Contrast checker → · Palette generator →

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