#5036CA#5036CA

#5036CA is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.214 H 282.1°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5036CA
RGBrgb(80, 54, 202)
HSLhsl(251, 58%, 50%)
HSVhsv(251, 73%, 79%)
CMYKcmyk(60.4%, 73.3%, 0%, 20.8%)
CIE-LABlab(35.22, 51.14, -72.62)
CIE-LCHlch(35.22, 88.82, 305.15°)
OKLaboklab(46.4% 0.045 -0.2094)
OKLCHoklch(46.4% 0.214 282.1)
XYZxyz(15.2848, 8.6070, 56.7215)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036CA #B0CA36
analogous
#3666CA #5036CA #9A36CA
triadic
#5036CA #CA5036 #36CA50
tetradic
#5036CA #CA3666 #B0CA36 #36CA9A
square
#5036CA #CA3666 #B0CA36 #36CA9A
split-complementary
#5036CA #CA9A36 #66CA36
monochromatic
#2A1C6A #3D299A #5036CA #7A66D7 #A497E4

Accessibility & contrast

On white

7.72
#5036CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5036CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036CA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036CA#FFFFFF#000000##FFFFFF
##5036CA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5036ca;
/* rgb */ color: rgb(80, 54, 202);
/* oklch */ color: oklch(46.4% 0.214 282.1);
Tailwind
colors: {
  custom: {
    50: '#8f70db',
    500: '#5036ca',
    950: '#000000',
  },
}
SCSS
$custom: #5036ca;
$custom-light: #8f70db;
$custom-dark: #000000;
JSON
{
  "hex": "#5036ca",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 250.541,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.21416,
    "h": 282.1
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#5036CA
secondary
#C3CF8D
accent
#E146C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5036CA

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

Preview Lab → · Contrast checker → · Palette generator →

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