#5035C4#5035C4

#5035C4 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.208 H 283.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5035C4
RGBrgb(80, 53, 196)
HSLhsl(251, 57%, 49%)
HSVhsv(251, 73%, 77%)
CMYKcmyk(59.2%, 73%, 0%, 23.1%)
CIE-LABlab(34.47, 49.88, -70.35)
CIE-LCHlch(34.47, 86.24, 305.34°)
OKLaboklab(45.7% 0.0471 -0.2027)
OKLCHoklch(45.7% 0.208 283.1)
XYZxyz(14.5421, 8.2362, 53.0373)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C4 #A9C435
analogous
#3562C4 #5035C4 #9835C4
triadic
#5035C4 #C45035 #35C450
tetradic
#5035C4 #C43562 #A9C435 #35C498
square
#5035C4 #C43562 #A9C435 #35C498
split-complementary
#5035C4 #C49835 #62C435
monochromatic
#291B64 #3C2894 #5035C4 #7762D4 #A192E1

Accessibility & contrast

On white

7.93
#5035C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5035C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C4#FFFFFF#000000##FFFFFF
##5035C41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#004CC1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5035c4;
/* rgb */ color: rgb(80, 53, 196);
/* oklch */ color: oklch(45.7% 0.208 283.1);
Tailwind
colors: {
  custom: {
    50: '#8e6fd7',
    500: '#5035c4',
    950: '#000000',
  },
}
SCSS
$custom: #5035c4;
$custom-light: #8e6fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c4",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 251.329,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.2081,
    "h": 283.1
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#5035C4
secondary
#C0CC88
accent
#E147C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5035C4

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

Preview Lab → · Contrast checker → · Palette generator →

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