#5033C8#5033C8

#5033C8 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.215 H 282.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5033C8
RGBrgb(80, 51, 200)
HSLhsl(252, 59%, 49%)
HSVhsv(252, 75%, 78%)
CMYKcmyk(60%, 74.5%, 0%, 21.6%)
CIE-LABlab(34.48, 52.09, -72.66)
CIE-LCHlch(34.48, 89.41, 305.63°)
OKLaboklab(45.82% 0.0476 -0.2095)
OKLCHoklch(45.82% 0.215 282.8)
XYZxyz(14.9142, 8.2422, 55.4374)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5033C8 #ABC833
analogous
#3361C8 #5033C8 #9B33C8
triadic
#5033C8 #C85033 #33C850
tetradic
#5033C8 #C83361 #ABC833 #33C89B
square
#5033C8 #C83361 #ABC833 #33C89B
split-complementary
#5033C8 #C89B33 #61C833
monochromatic
#291A66 #3C2797 #5033C8 #7861D7 #A292E3

Accessibility & contrast

On white

7.93
#5033C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5033C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5033C8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5033C8#FFFFFF#000000##FFFFFF
##5033C81.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5033c8;
/* rgb */ color: rgb(80, 51, 200);
/* oklch */ color: oklch(45.8% 0.215 282.8);
Tailwind
colors: {
  custom: {
    50: '#8f6eda',
    500: '#5033c8',
    950: '#000000',
  },
}
SCSS
$custom: #5033c8;
$custom-light: #8f6eda;
$custom-dark: #000000;
JSON
{
  "hex": "#5033c8",
  "rgb": {
    "r": 80,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 251.678,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.21481,
    "h": 282.8
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#5033C8
secondary
#C1CE89
accent
#E345C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5033C8

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

Preview Lab → · Contrast checker → · Palette generator →

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