#5035C1#5035C1

#5035C1 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.4% C 0.205 H 283.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5035C1
RGBrgb(80, 53, 193)
HSLhsl(252, 57%, 48%)
HSVhsv(252, 73%, 76%)
CMYKcmyk(58.5%, 72.5%, 0%, 24.3%)
CIE-LABlab(34.19, 48.99, -69.04)
CIE-LCHlch(34.19, 84.66, 305.36°)
OKLaboklab(45.42% 0.0477 -0.1989)
OKLCHoklch(45.42% 0.205 283.5)
XYZxyz(14.2040, 8.1010, 51.2569)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C1 #A6C135
analogous
#3560C1 #5035C1 #9635C1
triadic
#5035C1 #C15035 #35C150
tetradic
#5035C1 #C13560 #A6C135 #35C196
square
#5035C1 #C13560 #A6C135 #35C196
split-complementary
#5035C1 #C19635 #60C135
monochromatic
#281B61 #3C2891 #5035C1 #7660D3 #9F90E0

Accessibility & contrast

On white

8.01
#5035C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5035C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C1
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C1#FFFFFF#000000##FFFFFF
##5035C11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#095B78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5035c1;
/* rgb */ color: rgb(80, 53, 193);
/* oklch */ color: oklch(45.4% 0.205 283.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fd5',
    500: '#5035c1',
    950: '#000000',
  },
}
SCSS
$custom: #5035c1;
$custom-light: #8e6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c1",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 251.571,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.20455,
    "h": 283.5
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#5035C1
secondary
#BECB87
accent
#E048C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5035C1

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

Preview Lab → · Contrast checker → · Palette generator →

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