#4E216D#4E216D

#4E216D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.129 H 308.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#4E216D
RGBrgb(78, 33, 109)
HSLhsl(276, 54%, 28%)
HSVhsv(276, 70%, 43%)
CMYKcmyk(28.4%, 69.7%, 0%, 57.3%)
CIE-LABlab(23.04, 35.63, -35.67)
CIE-LCHlch(23.04, 50.41, 314.97°)
OKLaboklab(35.21% 0.0798 -0.1009)
OKLCHoklch(35.21% 0.129 308.4)
XYZxyz(6.4455, 3.8116, 14.8612)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E216D #406D21
analogous
#28216D #4E216D #6D2166
triadic
#4E216D #6D4E21 #216D4E
tetradic
#4E216D #6D2821 #406D21 #21666D
square
#4E216D #6D2821 #406D21 #21666D
split-complementary
#4E216D #666D21 #216D28
monochromatic
#110717 #2C133E #4E216D #702F9C #9042C6

Accessibility & contrast

On white

11.92
#4E216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#4E216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E216D
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E216D#FFFFFF#000000##FFFFFF
##4E216D1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#12376B
Tritanopia (blue-blind)
#493144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e216d;
/* rgb */ color: rgb(78, 33, 109);
/* oklch */ color: oklch(35.2% 0.129 308.4);
Tailwind
colors: {
  custom: {
    50: '#836097',
    500: '#4e216d',
    950: '#000000',
  },
}
SCSS
$custom: #4e216d;
$custom-light: #836097;
$custom-dark: #000000;
JSON
{
  "hex": "#4e216d",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 275.526,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35211,
    "c": 0.12866,
    "h": 308.4
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#4E216D
secondary
#6DA149
accent
#DD4B86
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E216D

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

Preview Lab → · Contrast checker → · Palette generator →

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