#5033D2#5033D2

#5033D2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.226 H 281.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5033D2
RGBrgb(80, 51, 210)
HSLhsl(251, 64%, 51%)
HSVhsv(251, 76%, 82%)
CMYKcmyk(61.9%, 75.7%, 0%, 17.6%)
CIE-LABlab(35.45, 55.01, -76.88)
CIE-LCHlch(35.45, 94.53, 305.58°)
OKLaboklab(46.79% 0.0451 -0.2218)
OKLCHoklch(46.79% 0.226 281.5)
XYZxyz(16.1213, 8.7251, 61.7948)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5033D2 #B5D233
analogous
#3365D2 #5033D2 #9F33D2
triadic
#5033D2 #D25033 #33D250
tetradic
#5033D2 #D23365 #B5D233 #33D29F
square
#5033D2 #D23365 #B5D233 #33D29F
split-complementary
#5033D2 #D29F33 #65D233
monochromatic
#291972 #3B24A4 #5033D2 #7B65DD #A697E8

Accessibility & contrast

On white

7.65
#5033D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5033D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5033D2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5033D2#FFFFFF#000000##FFFFFF
##5033D21.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D7
Deuteranopia (green-blind)
#004ECF
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5033d2;
/* rgb */ color: rgb(80, 51, 210);
/* oklch */ color: oklch(46.8% 0.226 281.5);
Tailwind
colors: {
  custom: {
    50: '#916fe1',
    500: '#5033d2',
    950: '#000000',
  },
}
SCSS
$custom: #5033d2;
$custom-light: #916fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5033d2",
  "rgb": {
    "r": 80,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 250.943,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.22633,
    "h": 281.5
  },
  "luminance": 0.08726
}

Semantic roles & 50–950 ramp

primary
#5033D2
secondary
#C7D48D
accent
#E741C9
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0815
muted
#7E7B84

Preview Lab

Preview with #5033D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5033D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva