#5036CD#5036CD

#5036CD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.7% C 0.218 H 281.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5036CD
RGBrgb(80, 54, 205)
HSLhsl(250, 60%, 51%)
HSVhsv(250, 74%, 80%)
CMYKcmyk(61%, 73.7%, 0%, 19.6%)
CIE-LABlab(35.50, 52.03, -73.90)
CIE-LCHlch(35.50, 90.38, 305.15°)
OKLaboklab(46.68% 0.0444 -0.2131)
OKLCHoklch(46.68% 0.218 281.8)
XYZxyz(15.6434, 8.7505, 58.6104)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5036CD #B3CD36
analogous
#3667CD #5036CD #9B36CD
triadic
#5036CD #CD5036 #36CD50
tetradic
#5036CD #CD3667 #B3CD36 #36CD9B
square
#5036CD #CD3667 #B3CD36 #36CD9B
split-complementary
#5036CD #CD9B36 #67CD36
monochromatic
#291B6D #3C279E #5036CD #7B67D9 #A598E5

Accessibility & contrast

On white

7.64
#5036CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5036CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5036CD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5036CD#FFFFFF#000000##FFFFFF
##5036CD1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004ECA
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5036cd;
/* rgb */ color: rgb(80, 54, 205);
/* oklch */ color: oklch(46.7% 0.218 281.8);
Tailwind
colors: {
  custom: {
    50: '#9070de',
    500: '#5036cd',
    950: '#000000',
  },
}
SCSS
$custom: #5036cd;
$custom-light: #9070de;
$custom-dark: #000000;
JSON
{
  "hex": "#5036cd",
  "rgb": {
    "r": 80,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 250.331,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46682,
    "c": 0.21768,
    "h": 281.8
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#5036CD
secondary
#C5D18E
accent
#E344C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5036CD

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

Preview Lab → · Contrast checker → · Palette generator →

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