#4E219C#4E219C

#4E219C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.182 H 292.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#4E219C
RGBrgb(78, 33, 156)
HSLhsl(262, 65%, 37%)
HSVhsv(262, 79%, 61%)
CMYKcmyk(50%, 78.8%, 0%, 38.8%)
CIE-LABlab(27.04, 48.02, -58.66)
CIE-LCHlch(27.04, 75.81, 309.31°)
OKLaboklab(39.28% 0.0697 -0.1684)
OKLCHoklch(39.28% 0.182 292.5)
XYZxyz(9.6848, 5.1074, 31.9216)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E219C #6F9C21
analogous
#21329C #4E219C #8B219C
triadic
#4E219C #9C4E21 #219C4E
tetradic
#4E219C #9C2132 #6F9C21 #219C8B
square
#4E219C #9C2132 #6F9C21 #219C8B
split-complementary
#4E219C #9C8B21 #329C21
monochromatic
#1B0C37 #351669 #4E219C #672CCF #8A5BDC

Accessibility & contrast

On white

10.39
#4E219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E219C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E219C#FFFFFF#000000##FFFFFF
##4E219C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#35445E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4e219c;
/* rgb */ color: rgb(78, 33, 156);
/* oklch */ color: oklch(39.3% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#8862ba',
    500: '#4e219c',
    950: '#000000',
  },
}
SCSS
$custom: #4e219c;
$custom-light: #8862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4e219c",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 261.951,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.18227,
    "h": 292.5
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#4E219C
secondary
#9AC158
accent
#E840AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4E219C

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

Preview Lab → · Contrast checker → · Palette generator →

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