#5035C5#5035C5

#5035C5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.209 H 282.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5035C5
RGBrgb(80, 53, 197)
HSLhsl(251, 58%, 49%)
HSVhsv(251, 73%, 77%)
CMYKcmyk(59.4%, 73.1%, 0%, 22.7%)
CIE-LABlab(34.56, 50.18, -70.78)
CIE-LCHlch(34.56, 86.76, 305.33°)
OKLaboklab(45.79% 0.0469 -0.204)
OKLCHoklch(45.79% 0.209 282.9)
XYZxyz(14.6563, 8.2819, 53.6388)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C5 #AAC535
analogous
#3562C5 #5035C5 #9835C5
triadic
#5035C5 #C55035 #35C550
tetradic
#5035C5 #C53562 #AAC535 #35C598
square
#5035C5 #C53562 #AAC535 #35C598
split-complementary
#5035C5 #C59835 #62C535
monochromatic
#291B65 #3C2895 #5035C5 #7862D5 #A193E2

Accessibility & contrast

On white

7.90
#5035C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5035C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C5#FFFFFF#000000##FFFFFF
##5035C51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004CC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5035c5;
/* rgb */ color: rgb(80, 53, 197);
/* oklch */ color: oklch(45.8% 0.209 282.9);
Tailwind
colors: {
  custom: {
    50: '#8e6fd8',
    500: '#5035c5',
    950: '#000000',
  },
}
SCSS
$custom: #5035c5;
$custom-light: #8e6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c5",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 251.25,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.20929,
    "h": 282.9
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#5035C5
secondary
#C0CD89
accent
#E147C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5035C5

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

Preview Lab → · Contrast checker → · Palette generator →

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