#4832A2#4832A2

#4832A2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.171 H 285.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4832A2
RGBrgb(72, 50, 162)
HSLhsl(252, 53%, 42%)
HSVhsv(252, 69%, 64%)
CMYKcmyk(55.6%, 69.1%, 0%, 36.5%)
CIE-LABlab(30.08, 40.03, -57.35)
CIE-LCHlch(30.08, 69.94, 304.91°)
OKLaboklab(41.45% 0.0448 -0.1649)
OKLCHoklch(41.45% 0.171 285.2)
XYZxyz(10.3327, 6.2670, 34.8406)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4832A2 #8CA232
analogous
#3254A2 #4832A2 #8032A2
triadic
#4832A2 #A24832 #32A248
tetradic
#4832A2 #A23254 #8CA232 #32A280
square
#4832A2 #A23254 #8CA232 #32A280
split-complementary
#4832A2 #A28032 #54A232
monochromatic
#1E1544 #332473 #4832A2 #634AC7 #8B79D6

Accessibility & contrast

On white

9.32
#4832A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4832A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4832A2
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4832A2#FFFFFF#000000##FFFFFF
##4832A21.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#204F66
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4832a2;
/* rgb */ color: rgb(72, 50, 162);
/* oklch */ color: oklch(41.4% 0.171 285.2);
Tailwind
colors: {
  custom: {
    50: '#846cbe',
    500: '#4832a2',
    950: '#000000',
  },
}
SCSS
$custom: #4832a2;
$custom-light: #846cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4832a2",
  "rgb": {
    "r": 72,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 251.786,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4145,
    "c": 0.17086,
    "h": 285.2
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#4832A2
secondary
#AFBE72
accent
#DC4CC0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #4832A2

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

Preview Lab → · Contrast checker → · Palette generator →

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