#5032C3#5032C3

#5032C3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.210 H 283.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5032C3
RGBrgb(80, 50, 195)
HSLhsl(252, 59%, 48%)
HSVhsv(252, 74%, 76%)
CMYKcmyk(59%, 74.4%, 0%, 23.5%)
CIE-LABlab(33.83, 51.13, -70.82)
CIE-LCHlch(33.83, 87.35, 305.83°)
OKLaboklab(45.22% 0.0495 -0.2041)
OKLCHoklch(45.22% 0.21 283.6)
XYZxyz(14.2962, 7.9259, 52.3957)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5032C3 #A5C332
analogous
#325CC3 #5032C3 #9832C3
triadic
#5032C3 #C35032 #32C350
tetradic
#5032C3 #C3325C #A5C332 #32C398
square
#5032C3 #C3325C #A5C332 #32C398
split-complementary
#5032C3 #C39832 #5CC332
monochromatic
#281962 #3C2692 #5032C3 #765DD5 #9F8EE2

Accessibility & contrast

On white

8.12
#5032C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5032C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5032C3
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5032C3#FFFFFF#000000##FFFFFF
##5032C31.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#025B78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5032c3;
/* rgb */ color: rgb(80, 50, 195);
/* oklch */ color: oklch(45.2% 0.210 283.6);
Tailwind
colors: {
  custom: {
    50: '#8e6dd6',
    500: '#5032c3',
    950: '#000000',
  },
}
SCSS
$custom: #5032c3;
$custom-light: #8e6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5032c3",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 252.414,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.20998,
    "h": 283.6
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#5032C3
secondary
#BDCC85
accent
#E245C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5032C3

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

Preview Lab → · Contrast checker → · Palette generator →

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