#5035AF#5035AF

#5035AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.183 H 286.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#5035AF
RGBrgb(80, 53, 175)
HSLhsl(253, 54%, 45%)
HSVhsv(253, 70%, 69%)
CMYKcmyk(54.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(32.58, 43.61, -61.03)
CIE-LCHlch(32.58, 75.02, 305.55°)
OKLaboklab(43.78% 0.0513 -0.1754)
OKLCHoklch(43.78% 0.183 286.3)
XYZxyz(12.3169, 7.3462, 41.3181)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5035AF #94AF35
analogous
#3557AF #5035AF #8D35AF
triadic
#5035AF #AF5035 #35AF50
tetradic
#5035AF #AF3557 #94AF35 #35AF8D
square
#5035AF #AF3557 #94AF35 #35AF8D
split-complementary
#5035AF #AF8D35 #57AF35
monochromatic
#251951 #3B2780 #5035AF #7056CC #9785DA

Accessibility & contrast

On white

8.50
#5035AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5035AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5035AF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5035AF#FFFFFF#000000##FFFFFF
##5035AF1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#28556E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5035af;
/* rgb */ color: rgb(80, 53, 175);
/* oklch */ color: oklch(43.8% 0.183 286.3);
Tailwind
colors: {
  custom: {
    50: '#8b6ec8',
    500: '#5035af',
    950: '#000000',
  },
}
SCSS
$custom: #5035af;
$custom-light: #8b6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5035af",
  "rgb": {
    "r": 80,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 253.279,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.18277,
    "h": 286.3
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#5035AF
secondary
#B4C47C
accent
#DD4BBD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5035AF

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

Preview Lab → · Contrast checker → · Palette generator →

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