#4B218B#4B218B

#4B218B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.163 H 295.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4B218B
RGBrgb(75, 33, 139)
HSLhsl(264, 62%, 34%)
HSVhsv(264, 76%, 55%)
CMYKcmyk(46%, 76.3%, 0%, 45.5%)
CIE-LABlab(25.10, 42.92, -51.37)
CIE-LCHlch(25.10, 66.94, 309.88°)
OKLaboklab(37.36% 0.0698 -0.1471)
OKLCHoklch(37.36% 0.163 295.4)
XYZxyz(8.1045, 4.4474, 24.8525)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B218B #618B21
analogous
#212C8B #4B218B #80218B
triadic
#4B218B #8B4B21 #218B4B
tetradic
#4B218B #8B212C #618B21 #218B80
square
#4B218B #8B212C #618B21 #218B80
split-complementary
#4B218B #8B8021 #2C8B21
monochromatic
#160A28 #30155A #4B218B #662DBC #8551D6

Accessibility & contrast

On white

11.11
#4B218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4B218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B218B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B218B#FFFFFF#000000##FFFFFF
##4B218B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#393D54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b218b;
/* rgb */ color: rgb(75, 33, 139);
/* oklch */ color: oklch(37.4% 0.163 295.4);
Tailwind
colors: {
  custom: {
    50: '#8461ae',
    500: '#4b218b',
    950: '#000000',
  },
}
SCSS
$custom: #4b218b;
$custom-light: #8461ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b218b",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 263.774,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.16286,
    "h": 295.4
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#4B218B
secondary
#8FB94F
accent
#E543A5
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B218B

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

Preview Lab → · Contrast checker → · Palette generator →

#4B218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva