#4E219A#4E219A

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

Color values

HEX#4E219A
RGBrgb(78, 33, 154)
HSLhsl(262, 65%, 37%)
HSVhsv(262, 79%, 60%)
CMYKcmyk(49.4%, 78.6%, 0%, 39.6%)
CIE-LABlab(26.85, 47.48, -57.75)
CIE-LCHlch(26.85, 74.76, 309.43°)
OKLaboklab(39.09% 0.0703 -0.1657)
OKLCHoklch(39.09% 0.18 293)
XYZxyz(9.5169, 5.0402, 31.0370)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E219A #6D9A21
analogous
#21319A #4E219A #8B219A
triadic
#4E219A #9A4E21 #219A4E
tetradic
#4E219A #9A2131 #6D9A21 #219A8B
square
#4E219A #9A2131 #6D9A21 #219A8B
split-complementary
#4E219A #9A8B21 #319A21
monochromatic
#1B0B35 #341668 #4E219A #682CCC #8A5ADC

Accessibility & contrast

On white

10.46
#4E219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E219A
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E219A#FFFFFF#000000##FFFFFF
##4E219A1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#36435D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e219a;
/* rgb */ color: rgb(78, 33, 154);
/* oklch */ color: oklch(39.1% 0.180 293.0);
Tailwind
colors: {
  custom: {
    50: '#8862b9',
    500: '#4e219a',
    950: '#000000',
  },
}
SCSS
$custom: #4e219a;
$custom-light: #8862b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e219a",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 262.314,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.18004,
    "h": 293
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#4E219A
secondary
#99C057
accent
#E840A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4E219A

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

Preview Lab → · Contrast checker → · Palette generator →

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