#5035C3#5035C3

#5035C3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.207 H 283.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5035C3
RGBrgb(80, 53, 195)
HSLhsl(251, 57%, 49%)
HSVhsv(251, 73%, 76%)
CMYKcmyk(59%, 72.8%, 0%, 23.5%)
CIE-LABlab(34.38, 49.58, -69.91)
CIE-LCHlch(34.38, 85.71, 305.34°)
OKLaboklab(45.6% 0.0473 -0.2014)
OKLCHoklch(45.6% 0.207 283.2)
XYZxyz(14.4287, 8.1909, 52.4399)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035C3 #A8C335
analogous
#3561C3 #5035C3 #9735C3
triadic
#5035C3 #C35035 #35C350
tetradic
#5035C3 #C33561 #A8C335 #35C397
square
#5035C3 #C33561 #A8C335 #35C397
split-complementary
#5035C3 #C39735 #61C335
monochromatic
#291B63 #3C2893 #5035C3 #7761D4 #A091E1

Accessibility & contrast

On white

7.96
#5035C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5035C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035C3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035C3#FFFFFF#000000##FFFFFF
##5035C31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#015C79
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5035c3;
/* rgb */ color: rgb(80, 53, 195);
/* oklch */ color: oklch(45.6% 0.207 283.2);
Tailwind
colors: {
  custom: {
    50: '#8e6fd6',
    500: '#5035c3',
    950: '#000000',
  },
}
SCSS
$custom: #5035c3;
$custom-light: #8e6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5035c3",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 195
  },
  "hsl": {
    "h": 251.408,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.20693,
    "h": 283.2
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#5035C3
secondary
#BFCC88
accent
#E147C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5035C3

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

Preview Lab → · Contrast checker → · Palette generator →

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