#5035CA#5035CA

#5035CA is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.215 H 282.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5035CA
RGBrgb(80, 53, 202)
HSLhsl(251, 58%, 50%)
HSVhsv(251, 74%, 79%)
CMYKcmyk(60.4%, 73.8%, 0%, 20.8%)
CIE-LABlab(35.03, 51.66, -72.92)
CIE-LCHlch(35.03, 89.37, 305.31°)
OKLaboklab(46.27% 0.0457 -0.2102)
OKLCHoklch(46.27% 0.215 282.3)
XYZxyz(15.2387, 8.5149, 56.7062)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035CA #AFCA35
analogous
#3565CA #5035CA #9A35CA
triadic
#5035CA #CA5035 #35CA50
tetradic
#5035CA #CA3565 #AFCA35 #35CA9A
square
#5035CA #CA3565 #AFCA35 #35CA9A
split-complementary
#5035CA #CA9A35 #65CA35
monochromatic
#2A1C69 #3D289A #5035CA #7A65D7 #A496E3

Accessibility & contrast

On white

7.77
#5035CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5035CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035CA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035CA#FFFFFF#000000##FFFFFF
##5035CA1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004DC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5035ca;
/* rgb */ color: rgb(80, 53, 202);
/* oklch */ color: oklch(46.3% 0.215 282.3);
Tailwind
colors: {
  custom: {
    50: '#8f70db',
    500: '#5035ca',
    950: '#000000',
  },
}
SCSS
$custom: #5035ca;
$custom-light: #8f70db;
$custom-dark: #000000;
JSON
{
  "hex": "#5035ca",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 250.872,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.21516,
    "h": 282.3
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#5035CA
secondary
#C3CF8C
accent
#E246C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5035CA

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

Preview Lab → · Contrast checker → · Palette generator →

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