#5030BB#5030BB

#5030BB is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.2% C 0.203 H 285.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#5030BB
RGBrgb(80, 48, 187)
HSLhsl(254, 59%, 46%)
HSVhsv(254, 74%, 73%)
CMYKcmyk(57.2%, 74.3%, 0%, 26.7%)
CIE-LABlab(32.71, 49.81, -67.94)
CIE-LCHlch(32.71, 84.24, 306.25°)
OKLaboklab(44.2% 0.0528 -0.1956)
OKLCHoklch(44.2% 0.203 285.1)
XYZxyz(13.3321, 7.4064, 47.7311)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5030BB #9BBB30
analogous
#3055BB #5030BB #9530BB
triadic
#5030BB #BB5030 #30BB50
tetradic
#5030BB #BB3055 #9BBB30 #30BB95
square
#5030BB #BB3055 #9BBB30 #30BB95
split-complementary
#5030BB #BB9530 #55BB30
monochromatic
#26175A #3B238A #5030BB #7255D3 #9A86E0

Accessibility & contrast

On white

8.46
#5030BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5030BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5030BB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5030BB#FFFFFF#000000##FFFFFF
##5030BB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#195773
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5030bb;
/* rgb */ color: rgb(80, 48, 187);
/* oklch */ color: oklch(44.2% 0.203 285.1);
Tailwind
colors: {
  custom: {
    50: '#8d6cd1',
    500: '#5030bb',
    950: '#000000',
  },
}
SCSS
$custom: #5030bb;
$custom-light: #8d6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5030bb",
  "rgb": {
    "r": 80,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 253.813,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.20265,
    "h": 285.1
  },
  "luminance": 0.07407
}

Semantic roles & 50–950 ramp

primary
#5030BB
secondary
#B8C97D
accent
#E245BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5030BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5030BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva