#5035B3#5035B3

#5035B3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.188 H 285.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#5035B3
RGBrgb(80, 53, 179)
HSLhsl(253, 54%, 45%)
HSVhsv(253, 70%, 70%)
CMYKcmyk(55.3%, 70.4%, 0%, 29.8%)
CIE-LABlab(32.93, 44.81, -62.84)
CIE-LCHlch(32.93, 77.18, 305.49°)
OKLaboklab(44.14% 0.0506 -0.1807)
OKLCHoklch(44.14% 0.188 285.6)
XYZxyz(12.7156, 7.5056, 43.4178)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035B3 #98B335
analogous
#3559B3 #5035B3 #8F35B3
triadic
#5035B3 #B35035 #35B350
tetradic
#5035B3 #B33559 #98B335 #35B38F
square
#5035B3 #B33559 #98B335 #35B38F
split-complementary
#5035B3 #B38F35 #59B335
monochromatic
#261955 #3B2784 #5035B3 #7158CD #9987DB

Accessibility & contrast

On white

8.40
#5035B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5035B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035B3
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035B3#FFFFFF#000000##FFFFFF
##5035B31.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#245670
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5035b3;
/* rgb */ color: rgb(80, 53, 179);
/* oklch */ color: oklch(44.1% 0.188 285.6);
Tailwind
colors: {
  custom: {
    50: '#8b6fcb',
    500: '#5035b3',
    950: '#000000',
  },
}
SCSS
$custom: #5035b3;
$custom-light: #8b6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#5035b3",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 252.857,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44135,
    "c": 0.18768,
    "h": 285.6
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#5035B3
secondary
#B6C57F
accent
#DE4ABE
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5035B3

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

Preview Lab → · Contrast checker → · Palette generator →

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