#5034DB#5034DB

#5034DB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.236 H 280.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5034DB
RGBrgb(80, 52, 219)
HSLhsl(250, 70%, 53%)
HSVhsv(250, 76%, 86%)
CMYKcmyk(63.5%, 76.3%, 0%, 14.1%)
CIE-LABlab(36.51, 57.13, -80.32)
CIE-LCHlch(36.51, 98.57, 305.42°)
OKLaboklab(47.8% 0.0422 -0.2318)
OKLCHoklch(47.8% 0.236 280.3)
XYZxyz(17.3184, 9.2746, 67.8816)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5034DB #BFDB34
analogous
#346BDB #5034DB #A334DB
triadic
#5034DB #DB5034 #34DB50
tetradic
#5034DB #DB346B #BFDB34 #34DBA3
square
#5034DB #DB346B #BFDB34 #34DBA3
split-complementary
#5034DB #DBA334 #6BDB34
monochromatic
#28167E #3820B2 #5034DB #7D68E4 #AA9CED

Accessibility & contrast

On white

7.36
#5034DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5034DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5034DB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5034DB#FFFFFF#000000##FFFFFF
##5034DB1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#004FD8
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5034db;
/* rgb */ color: rgb(80, 52, 219);
/* oklch */ color: oklch(47.8% 0.236 280.3);
Tailwind
colors: {
  custom: {
    50: '#9270e8',
    500: '#5034db',
    950: '#000000',
  },
}
SCSS
$custom: #5034db;
$custom-light: #9270e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5034db",
  "rgb": {
    "r": 80,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 250.06,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.23565,
    "h": 280.3
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#5034DB
secondary
#CDD991
accent
#ED3BCF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #5034DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5034DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva