#5032CF#5032CF

#5032CF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.224 H 282.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5032CF
RGBrgb(80, 50, 207)
HSLhsl(251, 62%, 50%)
HSVhsv(251, 76%, 81%)
CMYKcmyk(61.4%, 75.8%, 0%, 18.8%)
CIE-LABlab(34.98, 54.63, -75.91)
CIE-LCHlch(34.98, 93.52, 305.74°)
OKLaboklab(46.38% 0.0465 -0.2189)
OKLCHoklch(46.38% 0.224 282)
XYZxyz(15.7078, 8.4905, 59.8305)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5032CF #B1CF32
analogous
#3262CF #5032CF #9E32CF
triadic
#5032CF #CF5032 #32CF50
tetradic
#5032CF #CF3262 #B1CF32 #32CF9E
square
#5032CF #CF3262 #B1CF32 #32CF9E
split-complementary
#5032CF #CF9E32 #62CF32
monochromatic
#291A6D #3C259F #5032CF #7A64DB #A595E6

Accessibility & contrast

On white

7.78
#5032CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5032CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5032CF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5032CF#FFFFFF#000000##FFFFFF
##5032CF1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5032cf;
/* rgb */ color: rgb(80, 50, 207);
/* oklch */ color: oklch(46.4% 0.224 282.0);
Tailwind
colors: {
  custom: {
    50: '#906edf',
    500: '#5032cf',
    950: '#000000',
  },
}
SCSS
$custom: #5032cf;
$custom-light: #906edf;
$custom-dark: #000000;
JSON
{
  "hex": "#5032cf",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 251.465,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.22383,
    "h": 282
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#5032CF
secondary
#C4D18B
accent
#E543C6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5032CF

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

Preview Lab → · Contrast checker → · Palette generator →

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