#4B219D#4B219D

#4B219D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.183 H 290.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4B219D
RGBrgb(75, 33, 157)
HSLhsl(260, 65%, 37%)
HSVhsv(260, 79%, 62%)
CMYKcmyk(52.2%, 79%, 0%, 38.4%)
CIE-LABlab(26.78, 47.87, -59.70)
CIE-LCHlch(26.78, 76.52, 308.72°)
OKLaboklab(39.05% 0.0647 -0.1716)
OKLCHoklch(39.05% 0.183 290.7)
XYZxyz(9.5296, 5.0175, 32.3581)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B219D #739D21
analogous
#21359D #4B219D #89219D
triadic
#4B219D #9D4B21 #219D4B
tetradic
#4B219D #9D2135 #739D21 #219D89
square
#4B219D #9D2135 #739D21 #219D89
split-complementary
#4B219D #9D8921 #359D21
monochromatic
#1B0C38 #33166A #4B219D #632CD0 #875CDD

Accessibility & contrast

On white

10.48
#4B219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B219D
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B219D#FFFFFF#000000##FFFFFF
##4B219D1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#2E445F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b219d;
/* rgb */ color: rgb(75, 33, 157);
/* oklch */ color: oklch(39.1% 0.183 290.7);
Tailwind
colors: {
  custom: {
    50: '#8662bb',
    500: '#4b219d',
    950: '#000000',
  },
}
SCSS
$custom: #4b219d;
$custom-light: #8662bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b219d",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 260.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.18336,
    "h": 290.7
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#4B219D
secondary
#9EC159
accent
#E840AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B219D

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

Preview Lab → · Contrast checker → · Palette generator →

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