#5032BC#5032BC

#5032BC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.202 H 284.7°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5032BC
RGBrgb(80, 50, 188)
HSLhsl(253, 58%, 47%)
HSVhsv(253, 73%, 74%)
CMYKcmyk(57.4%, 73.4%, 0%, 26.3%)
CIE-LABlab(33.17, 49.08, -67.78)
CIE-LCHlch(33.17, 83.68, 305.91°)
OKLaboklab(44.55% 0.0511 -0.1952)
OKLCHoklch(44.55% 0.202 284.7)
XYZxyz(13.5232, 7.6167, 48.3248)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5032BC #9EBC32
analogous
#3259BC #5032BC #9532BC
triadic
#5032BC #BC5032 #32BC50
tetradic
#5032BC #BC3259 #9EBC32 #32BC95
square
#5032BC #BC3259 #9EBC32 #32BC95
split-complementary
#5032BC #BC9532 #59BC32
monochromatic
#27185B #3B258C #5032BC #7358D3 #9C89E0

Accessibility & contrast

On white

8.32
#5032BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5032BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5032BC
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5032BC#FFFFFF#000000##FFFFFF
##5032BC1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#175874
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5032bc;
/* rgb */ color: rgb(80, 50, 188);
/* oklch */ color: oklch(44.6% 0.202 284.7);
Tailwind
colors: {
  custom: {
    50: '#8d6dd1',
    500: '#5032bc',
    950: '#000000',
  },
}
SCSS
$custom: #5032bc;
$custom-light: #8d6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5032bc",
  "rgb": {
    "r": 80,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 253.043,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44554,
    "c": 0.20176,
    "h": 284.7
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#5032BC
secondary
#BAC980
accent
#E147C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #5032BC

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

Preview Lab → · Contrast checker → · Palette generator →

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