#4B218D#4B218D

#4B218D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.165 H 294.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#4B218D
RGBrgb(75, 33, 141)
HSLhsl(263, 62%, 34%)
HSVhsv(263, 77%, 55%)
CMYKcmyk(46.8%, 76.6%, 0%, 44.7%)
CIE-LABlab(25.28, 43.47, -52.32)
CIE-LCHlch(25.28, 68.02, 309.72°)
OKLaboklab(37.54% 0.0693 -0.1499)
OKLCHoklch(37.54% 0.165 294.8)
XYZxyz(8.2519, 4.5064, 25.6292)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B218D #638D21
analogous
#212D8D #4B218D #81218D
triadic
#4B218D #8D4B21 #218D4B
tetradic
#4B218D #8D212D #638D21 #218D81
square
#4B218D #8D212D #638D21 #218D81
split-complementary
#4B218D #8D8121 #2D8D21
monochromatic
#160A2A #31155B #4B218D #652DBF #8552D6

Accessibility & contrast

On white

11.04
#4B218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4B218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B218D
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B218D#FFFFFF#000000##FFFFFF
##4B218D1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#383E55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b218d;
/* rgb */ color: rgb(75, 33, 141);
/* oklch */ color: oklch(37.5% 0.165 294.8);
Tailwind
colors: {
  custom: {
    50: '#8461af',
    500: '#4b218d',
    950: '#000000',
  },
}
SCSS
$custom: #4b218d;
$custom-light: #8461af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b218d",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 263.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37541,
    "c": 0.16516,
    "h": 294.8
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#4B218D
secondary
#91BA50
accent
#E543A6
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B218D

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

Preview Lab → · Contrast checker → · Palette generator →

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