#4832B2#4832B2

#4832B2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.191 H 282.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4832B2
RGBrgb(72, 50, 178)
HSLhsl(250, 56%, 45%)
HSVhsv(250, 72%, 70%)
CMYKcmyk(59.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(31.51, 44.95, -64.60)
CIE-LCHlch(31.51, 78.70, 304.83°)
OKLaboklab(42.92% 0.0418 -0.1861)
OKLCHoklch(42.92% 0.191 282.7)
XYZxyz(11.8465, 6.8725, 42.8131)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4832B2 #9CB232
analogous
#325CB2 #4832B2 #8832B2
triadic
#4832B2 #B24832 #32B248
tetradic
#4832B2 #B2325C #9CB232 #32B288
square
#4832B2 #B2325C #9CB232 #32B288
split-complementary
#4832B2 #B28832 #5CB232
monochromatic
#211752 #352582 #4832B2 #6853CF #9282DC

Accessibility & contrast

On white

8.84
#4832B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4832B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4832B2
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4832B2#FFFFFF#000000##FFFFFF
##4832B21.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4832b2;
/* rgb */ color: rgb(72, 50, 178);
/* oklch */ color: oklch(42.9% 0.191 282.7);
Tailwind
colors: {
  custom: {
    50: '#876cca',
    500: '#4832b2',
    950: '#000000',
  },
}
SCSS
$custom: #4832b2;
$custom-light: #876cca;
$custom-dark: #000000;
JSON
{
  "hex": "#4832b2",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 250.313,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.19077,
    "h": 282.7
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#4832B2
secondary
#B8C57B
accent
#DF48C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4832B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4832B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva