#4B219B#4B219B

#4B219B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.181 H 291.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4B219B
RGBrgb(75, 33, 155)
HSLhsl(261, 65%, 37%)
HSVhsv(261, 79%, 61%)
CMYKcmyk(51.6%, 78.7%, 0%, 39.2%)
CIE-LABlab(26.59, 47.32, -58.80)
CIE-LCHlch(26.59, 75.47, 308.83°)
OKLaboklab(38.86% 0.0653 -0.1689)
OKLCHoklch(38.86% 0.181 291.1)
XYZxyz(9.3602, 4.9497, 31.4662)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B219B #719B21
analogous
#21349B #4B219B #88219B
triadic
#4B219B #9B4B21 #219B4B
tetradic
#4B219B #9B2134 #719B21 #219B88
square
#4B219B #9B2134 #719B21 #219B88
split-complementary
#4B219B #9B8821 #349B21
monochromatic
#1A0C36 #331669 #4B219B #632CCD #875ADC

Accessibility & contrast

On white

10.55
#4B219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B219B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B219B#FFFFFF#000000##FFFFFF
##4B219B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#2F445D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b219b;
/* rgb */ color: rgb(75, 33, 155);
/* oklch */ color: oklch(38.9% 0.181 291.1);
Tailwind
colors: {
  custom: {
    50: '#8662ba',
    500: '#4b219b',
    950: '#000000',
  },
}
SCSS
$custom: #4b219b;
$custom-light: #8662ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b219b",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 260.656,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3886,
    "c": 0.18111,
    "h": 291.1
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#4B219B
secondary
#9CC058
accent
#E840AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B219B

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

Preview Lab → · Contrast checker → · Palette generator →

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