#4B219F#4B219F

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

Color values

HEX#4B219F
RGBrgb(75, 33, 159)
HSLhsl(260, 66%, 38%)
HSVhsv(260, 79%, 62%)
CMYKcmyk(52.8%, 79.2%, 0%, 37.6%)
CIE-LABlab(26.98, 48.42, -60.60)
CIE-LCHlch(26.98, 77.57, 308.62°)
OKLaboklab(39.25% 0.0641 -0.1742)
OKLCHoklch(39.25% 0.186 290.2)
XYZxyz(9.7017, 5.0863, 33.2647)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B219F #759F21
analogous
#21369F #4B219F #8A219F
triadic
#4B219F #9F4B21 #219F4B
tetradic
#4B219F #9F2136 #759F21 #219F8A
square
#4B219F #9F2136 #759F21 #219F8A
split-complementary
#4B219F #9F8A21 #369F21
monochromatic
#1B0C3A #33166C #4B219F #632CD2 #885DDD

Accessibility & contrast

On white

10.41
#4B219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B219F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B219F#FFFFFF#000000##FFFFFF
##4B219F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#2C4560
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b219f;
/* rgb */ color: rgb(75, 33, 159);
/* oklch */ color: oklch(39.2% 0.186 290.2);
Tailwind
colors: {
  custom: {
    50: '#8762bc',
    500: '#4b219f',
    950: '#000000',
  },
}
SCSS
$custom: #4b219f;
$custom-light: #8762bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b219f",
  "rgb": {
    "r": 75,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 260,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39248,
    "c": 0.18561,
    "h": 290.2
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#4B219F
secondary
#9FC25A
accent
#E93FB0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4B219F

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

Preview Lab → · Contrast checker → · Palette generator →

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