#5035C6#5035C6

#5035C6 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.9% C 0.210 H 282.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5035C6
RGBrgb(80, 53, 198)
HSLhsl(251, 58%, 49%)
HSVhsv(251, 73%, 78%)
CMYKcmyk(59.6%, 73.2%, 0%, 22.4%)
CIE-LABlab(34.66, 50.47, -71.21)
CIE-LCHlch(34.66, 87.28, 305.33°)
OKLaboklab(45.89% 0.0466 -0.2052)
OKLCHoklch(45.89% 0.21 282.8)
XYZxyz(14.7712, 8.3279, 54.2442)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C6 #ABC635
analogous
#3563C6 #5035C6 #9935C6
triadic
#5035C6 #C65035 #35C650
tetradic
#5035C6 #C63563 #ABC635 #35C699
square
#5035C6 #C63563 #ABC635 #35C699
split-complementary
#5035C6 #C69935 #63C635
monochromatic
#291B65 #3C2896 #5035C6 #7863D5 #A293E2

Accessibility & contrast

On white

7.88
#5035C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5035C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C6
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C6#FFFFFF#000000##FFFFFF
##5035C61.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004CC3
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5035c6;
/* rgb */ color: rgb(80, 53, 198);
/* oklch */ color: oklch(45.9% 0.210 282.8);
Tailwind
colors: {
  custom: {
    50: '#8e6fd9',
    500: '#5035c6',
    950: '#000000',
  },
}
SCSS
$custom: #5035c6;
$custom-light: #8e6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c6",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 251.172,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.21047,
    "h": 282.8
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#5035C6
secondary
#C1CD8A
accent
#E147C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5035C6

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

Preview Lab → · Contrast checker → · Palette generator →

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