#5130D0#5130D0

#5130D0 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.227 H 282.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5130D0
RGBrgb(81, 48, 208)
HSLhsl(252, 63%, 50%)
HSVhsv(252, 77%, 82%)
CMYKcmyk(61.1%, 76.9%, 0%, 18.4%)
CIE-LABlab(34.84, 55.99, -76.73)
CIE-LCHlch(34.84, 94.99, 306.12°)
OKLaboklab(46.32% 0.0488 -0.2213)
OKLCHoklch(46.32% 0.227 282.4)
XYZxyz(15.8319, 8.4162, 60.4525)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5130D0 #AFD030
analogous
#305FD0 #5130D0 #A130D0
triadic
#5130D0 #D05130 #30D051
tetradic
#5130D0 #D0305F #AFD030 #30D0A1
square
#5130D0 #D0305F #AFD030 #30D0A1
split-complementary
#5130D0 #D0A130 #5FD030
monochromatic
#2A196D #3D249F #5130D0 #7B62DB #A594E7

Accessibility & contrast

On white

7.83
#5130D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5130D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5130D0
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5130D0#FFFFFF#000000##FFFFFF
##5130D01.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D4
Deuteranopia (green-blind)
#004CCD
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5130d0;
/* rgb */ color: rgb(81, 48, 208);
/* oklch */ color: oklch(46.3% 0.227 282.4);
Tailwind
colors: {
  custom: {
    50: '#916de0',
    500: '#5130d0',
    950: '#000000',
  },
}
SCSS
$custom: #5130d0;
$custom-light: #916de0;
$custom-dark: #000000;
JSON
{
  "hex": "#5130d0",
  "rgb": {
    "r": 81,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 252.375,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.22663,
    "h": 282.4
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#5130D0
secondary
#C3D28A
accent
#E642C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5130D0

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

Preview Lab → · Contrast checker → · Palette generator →

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