#5037CD#5037CD

#5037CD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.217 H 281.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5037CD
RGBrgb(80, 55, 205)
HSLhsl(250, 60%, 51%)
HSVhsv(250, 73%, 80%)
CMYKcmyk(61%, 73.2%, 0%, 19.6%)
CIE-LABlab(35.68, 51.51, -73.60)
CIE-LCHlch(35.68, 89.83, 304.99°)
OKLaboklab(46.81% 0.0437 -0.2122)
OKLCHoklch(46.81% 0.217 281.6)
XYZxyz(15.6904, 8.8445, 58.6261)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5037CD #B4CD37
analogous
#3769CD #5037CD #9B37CD
triadic
#5037CD #CD5037 #37CD50
tetradic
#5037CD #CD3769 #B4CD37 #37CD9B
square
#5037CD #CD3769 #B4CD37 #37CD9B
split-complementary
#5037CD #CD9B37 #69CD37
monochromatic
#291C6E #3C289F #5037CD #7B68D9 #A699E5

Accessibility & contrast

On white

7.58
#5037CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5037CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5037CD
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5037CD#FFFFFF#000000##FFFFFF
##5037CD1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5037cd;
/* rgb */ color: rgb(80, 55, 205);
/* oklch */ color: oklch(46.8% 0.217 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f71de',
    500: '#5037cd',
    950: '#000000',
  },
}
SCSS
$custom: #5037cd;
$custom-light: #8f71de;
$custom-dark: #000000;
JSON
{
  "hex": "#5037cd",
  "rgb": {
    "r": 80,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 250,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.46811,
    "c": 0.21668,
    "h": 281.6
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#5037CD
secondary
#C6D18F
accent
#E345C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5037CD

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

Preview Lab → · Contrast checker → · Palette generator →

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