#5035AD#5035AD

#5035AD is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.180 H 286.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5035AD
RGBrgb(80, 53, 173)
HSLhsl(254, 53%, 44%)
HSVhsv(254, 69%, 68%)
CMYKcmyk(53.8%, 69.4%, 0%, 32.2%)
CIE-LABlab(32.41, 43.02, -60.12)
CIE-LCHlch(32.41, 73.93, 305.58°)
OKLaboklab(43.6% 0.0516 -0.1728)
OKLCHoklch(43.6% 0.18 286.6)
XYZxyz(12.1219, 7.2682, 40.2912)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035AD #92AD35
analogous
#3556AD #5035AD #8C35AD
triadic
#5035AD #AD5035 #35AD50
tetradic
#5035AD #AD3556 #92AD35 #35AD8C
square
#5035AD #AD3556 #92AD35 #35AD8C
split-complementary
#5035AD #AD8C35 #56AD35
monochromatic
#25184F #3A277E #5035AD #6F54CB #9783D9

Accessibility & contrast

On white

8.56
#5035AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5035AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035AD
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035AD#FFFFFF#000000##FFFFFF
##5035AD1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#2A546D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5035ad;
/* rgb */ color: rgb(80, 53, 173);
/* oklch */ color: oklch(43.6% 0.180 286.6);
Tailwind
colors: {
  custom: {
    50: '#8a6ec6',
    500: '#5035ad',
    950: '#000000',
  },
}
SCSS
$custom: #5035ad;
$custom-light: #8a6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5035ad",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 173
  },
  "hsl": {
    "h": 253.5,
    "s": 53.097,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.18031,
    "h": 286.6
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#5035AD
secondary
#B3C37B
accent
#DD4BBC
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5035AD

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

Preview Lab → · Contrast checker → · Palette generator →

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