#4B218A#4B218A

#4B218A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.162 H 295.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4B218A
RGBrgb(75, 33, 138)
HSLhsl(264, 61%, 34%)
HSVhsv(264, 76%, 54%)
CMYKcmyk(45.7%, 76.1%, 0%, 45.9%)
CIE-LABlab(25.01, 42.65, -50.89)
CIE-LCHlch(25.01, 66.40, 309.96°)
OKLaboklab(37.27% 0.0701 -0.1457)
OKLCHoklch(37.27% 0.162 295.7)
XYZxyz(8.0317, 4.4184, 24.4695)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B218A #608A21
analogous
#212B8A #4B218A #7F218A
triadic
#4B218A #8A4B21 #218A4B
tetradic
#4B218A #8A212B #608A21 #218A7F
square
#4B218A #8A212B #608A21 #218A7F
split-complementary
#4B218A #8A7F21 #2B8A21
monochromatic
#150927 #301559 #4B218A #662DBB #8550D5

Accessibility & contrast

On white

11.15
#4B218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B218A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B218A#FFFFFF#000000##FFFFFF
##4B218A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#3A3D54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b218a;
/* rgb */ color: rgb(75, 33, 138);
/* oklch */ color: oklch(37.3% 0.162 295.7);
Tailwind
colors: {
  custom: {
    50: '#8461ad',
    500: '#4b218a',
    950: '#000000',
  },
}
SCSS
$custom: #4b218a;
$custom-light: #8461ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b218a",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 264,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.1617,
    "h": 295.7
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#4B218A
secondary
#8EB94E
accent
#E543A4
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B218A

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

Preview Lab → · Contrast checker → · Palette generator →

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