#5035BB#5035BB

#5035BB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.197 H 284.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5035BB
RGBrgb(80, 53, 187)
HSLhsl(252, 56%, 47%)
HSVhsv(252, 72%, 73%)
CMYKcmyk(57.2%, 71.7%, 0%, 26.7%)
CIE-LABlab(33.64, 47.20, -66.41)
CIE-LCHlch(33.64, 81.48, 305.40°)
OKLaboklab(44.86% 0.049 -0.1912)
OKLCHoklch(44.86% 0.197 284.4)
XYZxyz(13.5483, 7.8387, 47.8032)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035BB #A0BB35
analogous
#355DBB #5035BB #9335BB
triadic
#5035BB #BB5035 #35BB50
tetradic
#5035BB #BB355D #A0BB35 #35BB93
square
#5035BB #BB355D #A0BB35 #35BB93
split-complementary
#5035BB #BB9335 #5DBB35
monochromatic
#271A5C #3C278B #5035BB #745CD1 #9D8CDE

Accessibility & contrast

On white

8.18
#5035BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5035BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035BB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035BB#FFFFFF#000000##FFFFFF
##5035BB1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#185974
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5035bb;
/* rgb */ color: rgb(80, 53, 187);
/* oklch */ color: oklch(44.9% 0.197 284.4);
Tailwind
colors: {
  custom: {
    50: '#8d6fd1',
    500: '#5035bb',
    950: '#000000',
  },
}
SCSS
$custom: #5035bb;
$custom-light: #8d6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5035bb",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 252.09,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.19738,
    "h": 284.4
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#5035BB
secondary
#BBC983
accent
#DF49C1
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5035BB

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

Preview Lab → · Contrast checker → · Palette generator →

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