#5035BC#5035BC

#5035BC is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.199 H 284.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5035BC
RGBrgb(80, 53, 188)
HSLhsl(252, 56%, 47%)
HSVhsv(252, 72%, 74%)
CMYKcmyk(57.4%, 71.8%, 0%, 26.3%)
CIE-LABlab(33.74, 47.50, -66.85)
CIE-LCHlch(33.74, 82.01, 305.39°)
OKLaboklab(44.95% 0.0488 -0.1925)
OKLCHoklch(44.95% 0.199 284.2)
XYZxyz(13.6557, 7.8817, 48.3689)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035BC #A1BC35
analogous
#355DBC #5035BC #9435BC
triadic
#5035BC #BC5035 #35BC50
tetradic
#5035BC #BC355D #A1BC35 #35BC94
square
#5035BC #BC355D #A1BC35 #35BC94
split-complementary
#5035BC #BC9435 #5DBC35
monochromatic
#271A5D #3C288C #5035BC #745DD1 #9D8DDF

Accessibility & contrast

On white

8.15
#5035BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5035BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035BC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035BC#FFFFFF#000000##FFFFFF
##5035BC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#165A75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5035bc;
/* rgb */ color: rgb(80, 53, 188);
/* oklch */ color: oklch(45.0% 0.199 284.2);
Tailwind
colors: {
  custom: {
    50: '#8d6fd1',
    500: '#5035bc',
    950: '#000000',
  },
}
SCSS
$custom: #5035bc;
$custom-light: #8d6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5035bc",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 252,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.19857,
    "h": 284.2
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#5035BC
secondary
#BBC984
accent
#DF48C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5035BC

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

Preview Lab → · Contrast checker → · Palette generator →

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