#5035C7#5035C7

#5035C7 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.0% C 0.212 H 282.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5035C7
RGBrgb(80, 53, 199)
HSLhsl(251, 58%, 49%)
HSVhsv(251, 73%, 78%)
CMYKcmyk(59.8%, 73.4%, 0%, 22%)
CIE-LABlab(34.75, 50.77, -71.64)
CIE-LCHlch(34.75, 87.81, 305.32°)
OKLaboklab(45.98% 0.0464 -0.2065)
OKLCHoklch(45.98% 0.212 282.7)
XYZxyz(14.8870, 8.3742, 54.8537)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C7 #ACC735
analogous
#3563C7 #5035C7 #9935C7
triadic
#5035C7 #C75035 #35C750
tetradic
#5035C7 #C73563 #ACC735 #35C799
square
#5035C7 #C73563 #ACC735 #35C799
split-complementary
#5035C7 #C79935 #63C735
monochromatic
#291B66 #3D2897 #5035C7 #7964D6 #A294E2

Accessibility & contrast

On white

7.85
#5035C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5035C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C7
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C7#FFFFFF#000000##FFFFFF
##5035C71.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#004DC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5035c7;
/* rgb */ color: rgb(80, 53, 199);
/* oklch */ color: oklch(46.0% 0.212 282.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fd9',
    500: '#5035c7',
    950: '#000000',
  },
}
SCSS
$custom: #5035c7;
$custom-light: #8f6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c7",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 251.096,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.21164,
    "h": 282.7
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#5035C7
secondary
#C1CE8A
accent
#E147C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5035C7

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

Preview Lab → · Contrast checker → · Palette generator →

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