#4B219E#4B219E

#4B219E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.184 H 290.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#4B219E
RGBrgb(75, 33, 158)
HSLhsl(260, 65%, 37%)
HSVhsv(260, 79%, 62%)
CMYKcmyk(52.5%, 79.1%, 0%, 38%)
CIE-LABlab(26.88, 48.14, -60.15)
CIE-LCHlch(26.88, 77.04, 308.67°)
OKLaboklab(39.15% 0.0644 -0.1729)
OKLCHoklch(39.15% 0.184 290.4)
XYZxyz(9.6153, 5.0518, 32.8096)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B219E #749E21
analogous
#21369E #4B219E #8A219E
triadic
#4B219E #9E4B21 #219E4B
tetradic
#4B219E #9E2136 #749E21 #219E8A
square
#4B219E #9E2136 #749E21 #219E8A
split-complementary
#4B219E #9E8A21 #369E21
monochromatic
#1B0C39 #33166B #4B219E #632CD1 #885CDD

Accessibility & contrast

On white

10.45
#4B219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B219E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B219E#FFFFFF#000000##FFFFFF
##4B219E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#2D455F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b219e;
/* rgb */ color: rgb(75, 33, 158);
/* oklch */ color: oklch(39.2% 0.184 290.4);
Tailwind
colors: {
  custom: {
    50: '#8762bc',
    500: '#4b219e',
    950: '#000000',
  },
}
SCSS
$custom: #4b219e;
$custom-light: #8762bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b219e",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 260.16,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.18449,
    "h": 290.4
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B219E

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

Preview Lab → · Contrast checker → · Palette generator →

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