#5035CC#5035CC

#5035CC is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.217 H 282.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5035CC
RGBrgb(80, 53, 204)
HSLhsl(251, 60%, 50%)
HSVhsv(251, 74%, 80%)
CMYKcmyk(60.8%, 74%, 0%, 20%)
CIE-LABlab(35.22, 52.25, -73.78)
CIE-LCHlch(35.22, 90.40, 305.31°)
OKLaboklab(46.46% 0.0453 -0.2127)
OKLCHoklch(46.46% 0.218 282)
XYZxyz(15.4770, 8.6102, 57.9614)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035CC #B1CC35
analogous
#3566CC #5035CC #9B35CC
triadic
#5035CC #CC5035 #35CC50
tetradic
#5035CC #CC3566 #B1CC35 #35CC9B
square
#5035CC #CC3566 #B1CC35 #35CC9B
split-complementary
#5035CC #CC9B35 #66CC35
monochromatic
#291B6B #3C279C #5035CC #7A66D8 #A597E5

Accessibility & contrast

On white

7.71
#5035CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5035CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035CC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035CC#FFFFFF#000000##FFFFFF
##5035CC1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5035cc;
/* rgb */ color: rgb(80, 53, 204);
/* oklch */ color: oklch(46.5% 0.217 282.0);
Tailwind
colors: {
  custom: {
    50: '#8f70dd',
    500: '#5035cc',
    950: '#000000',
  },
}
SCSS
$custom: #5035cc;
$custom-light: #8f70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5035cc",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 250.728,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46458,
    "c": 0.2175,
    "h": 282
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#5035CC
secondary
#C4D08D
accent
#E345C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5035CC

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

Preview Lab → · Contrast checker → · Palette generator →

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