#5035BE#5035BE

#5035BE is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.1% C 0.201 H 283.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5035BE
RGBrgb(80, 53, 190)
HSLhsl(252, 56%, 48%)
HSVhsv(252, 72%, 75%)
CMYKcmyk(57.9%, 72.1%, 0%, 25.5%)
CIE-LABlab(33.92, 48.10, -67.73)
CIE-LCHlch(33.92, 83.07, 305.38°)
OKLaboklab(45.14% 0.0484 -0.1951)
OKLCHoklch(45.14% 0.201 283.9)
XYZxyz(13.8728, 7.9685, 49.5123)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035BE #A3BE35
analogous
#355EBE #5035BE #9535BE
triadic
#5035BE #BE5035 #35BE50
tetradic
#5035BE #BE355E #A3BE35 #35BE95
square
#5035BE #BE355E #A3BE35 #35BE95
split-complementary
#5035BE #BE9535 #5EBE35
monochromatic
#281A5E #3C288E #5035BE #755ED2 #9E8EDF

Accessibility & contrast

On white

8.10
#5035BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5035BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035BE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035BE#FFFFFF#000000##FFFFFF
##5035BE1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#125A76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5035be;
/* rgb */ color: rgb(80, 53, 190);
/* oklch */ color: oklch(45.1% 0.201 283.9);
Tailwind
colors: {
  custom: {
    50: '#8d6fd3',
    500: '#5035be',
    950: '#000000',
  },
}
SCSS
$custom: #5035be;
$custom-light: #8d6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5035be",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 251.825,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45138,
    "c": 0.20098,
    "h": 283.9
  },
  "luminance": 0.07969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5035BE

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

Preview Lab → · Contrast checker → · Palette generator →

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