#5029BC#5029BC

#5029BC is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.211 H 285.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5029BC
RGBrgb(80, 41, 188)
HSLhsl(256, 64%, 45%)
HSVhsv(256, 78%, 74%)
CMYKcmyk(57.4%, 78.2%, 0%, 26.3%)
CIE-LABlab(31.63, 53.48, -70.32)
CIE-LCHlch(31.63, 88.35, 307.25°)
OKLaboklab(43.47% 0.0574 -0.2025)
OKLCHoklch(43.47% 0.211 285.8)
XYZxyz(13.1756, 6.9214, 48.2089)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5029BC #95BC29
analogous
#294CBC #5029BC #9929BC
triadic
#5029BC #BC5029 #29BC50
tetradic
#5029BC #BC294C #95BC29 #29BC99
square
#5029BC #BC294C #95BC29 #29BC99
split-complementary
#5029BC #BC9929 #4CBC29
monochromatic
#251358 #3B1E8A #5029BC #704BD8 #987DE3

Accessibility & contrast

On white

8.81
#5029BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5029BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5029BC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5029BC#FFFFFF#000000##FFFFFF
##5029BC1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#185472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5029bc;
/* rgb */ color: rgb(80, 41, 188);
/* oklch */ color: oklch(43.5% 0.211 285.8);
Tailwind
colors: {
  custom: {
    50: '#8e68d1',
    500: '#5029bc',
    950: '#000000',
  },
}
SCSS
$custom: #5029bc;
$custom-light: #8e68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5029bc",
  "rgb": {
    "r": 80,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 255.918,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.21052,
    "h": 285.8
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#5029BC
secondary
#B4CB76
accent
#E741BB
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5029BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5029BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva