#4832AB#4832AB

#4832AB is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.3% C 0.182 H 283.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#4832AB
RGBrgb(72, 50, 171)
HSLhsl(251, 55%, 43%)
HSVhsv(251, 71%, 67%)
CMYKcmyk(57.9%, 70.8%, 0%, 32.9%)
CIE-LABlab(30.87, 42.80, -61.47)
CIE-LCHlch(30.87, 74.90, 304.85°)
OKLaboklab(42.27% 0.0432 -0.1769)
OKLCHoklch(42.27% 0.182 283.7)
XYZxyz(11.1615, 6.5985, 39.2057)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4832AB #95AB32
analogous
#3258AB #4832AB #8432AB
triadic
#4832AB #AB4832 #32AB48
tetradic
#4832AB #AB3258 #95AB32 #32AB84
square
#4832AB #AB3258 #95AB32 #32AB84
split-complementary
#4832AB #AB8432 #58AB32
monochromatic
#20164C #34247C #4832AB #654FCB #8F7ED9

Accessibility & contrast

On white

9.05
#4832AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4832AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4832AB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4832AB#FFFFFF#000000##FFFFFF
##4832AB1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#12526B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4832ab;
/* rgb */ color: rgb(72, 50, 171);
/* oklch */ color: oklch(42.3% 0.182 283.7);
Tailwind
colors: {
  custom: {
    50: '#866cc5',
    500: '#4832ab',
    950: '#000000',
  },
}
SCSS
$custom: #4832ab;
$custom-light: #866cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4832ab",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 250.909,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.18214,
    "h": 283.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#4832AB
secondary
#B4C277
accent
#DE4AC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4832AB

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

Preview Lab → · Contrast checker → · Palette generator →

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