#5035C9#5035C9

#5035C9 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.2% C 0.214 H 282.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5035C9
RGBrgb(80, 53, 201)
HSLhsl(251, 58%, 50%)
HSVhsv(251, 74%, 79%)
CMYKcmyk(60.2%, 73.6%, 0%, 21.2%)
CIE-LABlab(34.94, 51.36, -72.50)
CIE-LCHlch(34.94, 88.85, 305.32°)
OKLaboklab(46.17% 0.046 -0.209)
OKLCHoklch(46.17% 0.214 282.4)
XYZxyz(15.1207, 8.4677, 56.0846)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C9 #AEC935
analogous
#3564C9 #5035C9 #9A35C9
triadic
#5035C9 #C95035 #35C950
tetradic
#5035C9 #C93564 #AEC935 #35C99A
square
#5035C9 #C93564 #AEC935 #35C99A
split-complementary
#5035C9 #C99A35 #64C935
monochromatic
#291B68 #3D2899 #5035C9 #7A65D6 #A395E3

Accessibility & contrast

On white

7.80
#5035C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5035C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C9#FFFFFF#000000##FFFFFF
##5035C91.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004DC6
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5035c9;
/* rgb */ color: rgb(80, 53, 201);
/* oklch */ color: oklch(46.2% 0.214 282.4);
Tailwind
colors: {
  custom: {
    50: '#8f70db',
    500: '#5035c9',
    950: '#000000',
  },
}
SCSS
$custom: #5035c9;
$custom-light: #8f70db;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c9",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 250.946,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.21399,
    "h": 282.4
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#5035C9
secondary
#C2CE8B
accent
#E146C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5035C9

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

Preview Lab → · Contrast checker → · Palette generator →

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