#5030CF#5030CF

#5030CF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.226 H 282.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5030CF
RGBrgb(80, 48, 207)
HSLhsl(252, 62%, 50%)
HSVhsv(252, 77%, 81%)
CMYKcmyk(61.4%, 76.8%, 0%, 18.8%)
CIE-LABlab(34.65, 55.59, -76.47)
CIE-LCHlch(34.65, 94.54, 306.02°)
OKLaboklab(46.14% 0.0477 -0.2205)
OKLCHoklch(46.14% 0.226 282.2)
XYZxyz(15.6242, 8.3233, 59.8026)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5030CF #AFCF30
analogous
#3060CF #5030CF #9F30CF
triadic
#5030CF #CF5030 #30CF50
tetradic
#5030CF #CF3060 #AFCF30 #30CF9F
square
#5030CF #CF3060 #AFCF30 #30CF9F
split-complementary
#5030CF #CF9F30 #60CF30
monochromatic
#2A196C #3D249D #5030CF #7A62DB #A493E6

Accessibility & contrast

On white

7.88
#5030CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5030CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5030CF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5030CF#FFFFFF#000000##FFFFFF
##5030CF1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5030cf;
/* rgb */ color: rgb(80, 48, 207);
/* oklch */ color: oklch(46.1% 0.226 282.2);
Tailwind
colors: {
  custom: {
    50: '#906ddf',
    500: '#5030cf',
    950: '#000000',
  },
}
SCSS
$custom: #5030cf;
$custom-light: #906ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5030cf",
  "rgb": {
    "r": 80,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 252.075,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.22565,
    "h": 282.2
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#5030CF
secondary
#C3D18A
accent
#E542C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5030CF

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

Preview Lab → · Contrast checker → · Palette generator →

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