#5035BF#5035BF

#5035BF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.202 H 283.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5035BF
RGBrgb(80, 53, 191)
HSLhsl(252, 57%, 48%)
HSVhsv(252, 72%, 75%)
CMYKcmyk(58.1%, 72.3%, 0%, 25.1%)
CIE-LABlab(34.01, 48.39, -68.17)
CIE-LCHlch(34.01, 83.60, 305.37°)
OKLaboklab(45.23% 0.0482 -0.1963)
OKLCHoklch(45.23% 0.202 283.8)
XYZxyz(13.9824, 8.0124, 50.0899)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035BF #A4BF35
analogous
#355FBF #5035BF #9535BF
triadic
#5035BF #BF5035 #35BF50
tetradic
#5035BF #BF355F #A4BF35 #35BF95
square
#5035BF #BF355F #A4BF35 #35BF95
split-complementary
#5035BF #BF9535 #5FBF35
monochromatic
#281A5F #3C288F #5035BF #755FD3 #9E8FE0

Accessibility & contrast

On white

8.07
#5035BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5035BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035BF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035BF#FFFFFF#000000##FFFFFF
##5035BF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#0F5B77
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5035bf;
/* rgb */ color: rgb(80, 53, 191);
/* oklch */ color: oklch(45.2% 0.202 283.8);
Tailwind
colors: {
  custom: {
    50: '#8d6fd3',
    500: '#5035bf',
    950: '#000000',
  },
}
SCSS
$custom: #5035bf;
$custom-light: #8d6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5035bf",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 251.739,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.20217,
    "h": 283.8
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#5035BF
secondary
#BDCA85
accent
#E048C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5035BF

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

Preview Lab → · Contrast checker → · Palette generator →

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