#5036CB#5036CB

#5036CB is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.215 H 282.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5036CB
RGBrgb(80, 54, 203)
HSLhsl(250, 59%, 50%)
HSVhsv(250, 73%, 80%)
CMYKcmyk(60.6%, 73.4%, 0%, 20.4%)
CIE-LABlab(35.31, 51.44, -73.05)
CIE-LCHlch(35.31, 89.34, 305.15°)
OKLaboklab(46.49% 0.0448 -0.2106)
OKLCHoklch(46.49% 0.215 282)
XYZxyz(15.4036, 8.6545, 57.3471)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036CB #B1CB36
analogous
#3666CB #5036CB #9B36CB
triadic
#5036CB #CB5036 #36CB50
tetradic
#5036CB #CB3666 #B1CB36 #36CB9B
square
#5036CB #CB3666 #B1CB36 #36CB9B
split-complementary
#5036CB #CB9B36 #66CB36
monochromatic
#291C6B #3C289C #5036CB #7A67D8 #A597E4

Accessibility & contrast

On white

7.69
#5036CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5036CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036CB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036CB#FFFFFF#000000##FFFFFF
##5036CB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004EC8
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5036cb;
/* rgb */ color: rgb(80, 54, 203);
/* oklch */ color: oklch(46.5% 0.215 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f70dc',
    500: '#5036cb',
    950: '#000000',
  },
}
SCSS
$custom: #5036cb;
$custom-light: #8f70dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5036cb",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 250.47,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.21533,
    "h": 282
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#5036CB
secondary
#C4D08D
accent
#E246C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5036CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5036CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva