#5033CF#5033CF

#5033CF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.223 H 281.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5033CF
RGBrgb(80, 51, 207)
HSLhsl(251, 62%, 51%)
HSVhsv(251, 75%, 81%)
CMYKcmyk(61.4%, 75.4%, 0%, 18.8%)
CIE-LABlab(35.16, 54.13, -75.63)
CIE-LCHlch(35.16, 93.00, 305.60°)
OKLaboklab(46.5% 0.0458 -0.2181)
OKLCHoklch(46.5% 0.223 281.9)
XYZxyz(15.7511, 8.5770, 59.8449)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5033CF #B2CF33
analogous
#3364CF #5033CF #9E33CF
triadic
#5033CF #CF5033 #33CF50
tetradic
#5033CF #CF3364 #B2CF33 #33CF9E
square
#5033CF #CF3364 #B2CF33 #33CF9E
split-complementary
#5033CF #CF9E33 #64CF33
monochromatic
#291A6E #3C259F #5033CF #7A65DB #A596E6

Accessibility & contrast

On white

7.73
#5033CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5033CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5033CF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5033CF#FFFFFF#000000##FFFFFF
##5033CF1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004DCC
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5033cf;
/* rgb */ color: rgb(80, 51, 207);
/* oklch */ color: oklch(46.5% 0.223 281.9);
Tailwind
colors: {
  custom: {
    50: '#906fdf',
    500: '#5033cf',
    950: '#000000',
  },
}
SCSS
$custom: #5033cf;
$custom-light: #906fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5033cf",
  "rgb": {
    "r": 80,
    "g": 51,
    "b": 207
  },
  "hsl": {
    "h": 251.154,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.22289,
    "h": 281.9
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#5033CF
secondary
#C5D28C
accent
#E543C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5033CF

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

Preview Lab → · Contrast checker → · Palette generator →

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