#4E216E#4E216E

#4E216E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.130 H 307.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#4E216E
RGBrgb(78, 33, 110)
HSLhsl(275, 54%, 28%)
HSVhsv(275, 70%, 43%)
CMYKcmyk(29.1%, 70%, 0%, 56.9%)
CIE-LABlab(23.11, 35.88, -36.19)
CIE-LCHlch(23.11, 50.96, 314.75°)
OKLaboklab(35.29% 0.0797 -0.1024)
OKLCHoklch(35.29% 0.13 307.9)
XYZxyz(6.4996, 3.8333, 15.1463)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E216E #416E21
analogous
#27216E #4E216E #6E2167
triadic
#4E216E #6E4E21 #216E4E
tetradic
#4E216E #6E2721 #416E21 #21676E
square
#4E216E #6E2721 #416E21 #21676E
split-complementary
#4E216E #676E21 #216E27
monochromatic
#110718 #2D133F #4E216E #6F2F9D #9043C7

Accessibility & contrast

On white

11.89
#4E216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4E216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E216E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E216E#FFFFFF#000000##FFFFFF
##4E216E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#11386C
Tritanopia (blue-blind)
#493144
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e216e;
/* rgb */ color: rgb(78, 33, 110);
/* oklch */ color: oklch(35.3% 0.130 307.9);
Tailwind
colors: {
  custom: {
    50: '#836098',
    500: '#4e216e',
    950: '#000000',
  },
}
SCSS
$custom: #4e216e;
$custom-light: #836098;
$custom-dark: #000000;
JSON
{
  "hex": "#4e216e",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 275.065,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.12982,
    "h": 307.9
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#4E216E
secondary
#6EA249
accent
#DD4B88
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4E216E

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

Preview Lab → · Contrast checker → · Palette generator →

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