#5030CC#5030CC

#5030CC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.222 H 282.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5030CC
RGBrgb(80, 48, 204)
HSLhsl(252, 62%, 49%)
HSVhsv(252, 76%, 80%)
CMYKcmyk(60.8%, 76.5%, 0%, 20%)
CIE-LABlab(34.35, 54.73, -75.21)
CIE-LCHlch(34.35, 93.02, 306.04°)
OKLaboklab(45.85% 0.0485 -0.2169)
OKLCHoklch(45.85% 0.222 282.6)
XYZxyz(15.2609, 8.1779, 57.8893)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5030CC #ACCC30
analogous
#305ECC #5030CC #9E30CC
triadic
#5030CC #CC5030 #30CC50
tetradic
#5030CC #CC305E #ACCC30 #30CC9E
square
#5030CC #CC305E #ACCC30 #30CC9E
split-complementary
#5030CC #CC9E30 #5ECC30
monochromatic
#291969 #3D249A #5030CC #7960DA #A291E5

Accessibility & contrast

On white

7.97
#5030CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5030CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5030CC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5030CC#FFFFFF#000000##FFFFFF
##5030CC1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5030cc;
/* rgb */ color: rgb(80, 48, 204);
/* oklch */ color: oklch(45.8% 0.222 282.6);
Tailwind
colors: {
  custom: {
    50: '#906ddd',
    500: '#5030cc',
    950: '#000000',
  },
}
SCSS
$custom: #5030cc;
$custom-light: #906ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5030cc",
  "rgb": {
    "r": 80,
    "g": 48,
    "b": 204
  },
  "hsl": {
    "h": 252.308,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.22224,
    "h": 282.6
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#5030CC
secondary
#C1D088
accent
#E543C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5030CC

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

Preview Lab → · Contrast checker → · Palette generator →

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