#5030C2#5030C2

#5030C2 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.9% C 0.211 H 284.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5030C2
RGBrgb(80, 48, 194)
HSLhsl(253, 60%, 47%)
HSVhsv(253, 75%, 76%)
CMYKcmyk(58.8%, 75.3%, 0%, 23.9%)
CIE-LABlab(33.38, 51.84, -70.97)
CIE-LCHlch(33.38, 87.89, 306.15°)
OKLaboklab(44.87% 0.0511 -0.2045)
OKLCHoklch(44.87% 0.211 284)
XYZxyz(14.0998, 7.7135, 51.7743)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5030C2 #A2C230
analogous
#3059C2 #5030C2 #9930C2
triadic
#5030C2 #C25030 #30C250
tetradic
#5030C2 #C23059 #A2C230 #30C299
square
#5030C2 #C23059 #A2C230 #30C299
split-complementary
#5030C2 #C29930 #59C230
monochromatic
#281860 #3C2491 #5030C2 #7559D6 #9E8AE2

Accessibility & contrast

On white

8.26
#5030C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5030C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5030C2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5030C2#FFFFFF#000000##FFFFFF
##5030C21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#075977
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5030c2;
/* rgb */ color: rgb(80, 48, 194);
/* oklch */ color: oklch(44.9% 0.211 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e6cd6',
    500: '#5030c2',
    950: '#000000',
  },
}
SCSS
$custom: #5030c2;
$custom-light: #8e6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5030c2",
  "rgb": {
    "r": 80,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 253.151,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.21079,
    "h": 284
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#5030C2
secondary
#BCCC82
accent
#E344C1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5030C2

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

Preview Lab → · Contrast checker → · Palette generator →

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