#4E216A#4E216A

#4E216A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.125 H 309.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#4E216A
RGBrgb(78, 33, 106)
HSLhsl(277, 53%, 27%)
HSVhsv(277, 69%, 42%)
CMYKcmyk(26.4%, 68.9%, 0%, 58.4%)
CIE-LABlab(22.82, 34.88, -34.07)
CIE-LCHlch(22.82, 48.76, 315.67°)
OKLaboklab(34.99% 0.0801 -0.0962)
OKLCHoklch(34.99% 0.125 309.8)
XYZxyz(6.2868, 3.7481, 14.0252)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E216A #3D6A21
analogous
#29216A #4E216A #6A2162
triadic
#4E216A #6A4E21 #216A4E
tetradic
#4E216A #6A2921 #3D6A21 #21626A
square
#4E216A #6A2921 #3D6A21 #21626A
split-complementary
#4E216A #626A21 #216A29
monochromatic
#110717 #2C123B #4E216A #703099 #9241C4

Accessibility & contrast

On white

12.00
#4E216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4E216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E216A
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E216A#FFFFFF#000000##FFFFFF
##4E216A1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#163768
Tritanopia (blue-blind)
#4A3042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e216a;
/* rgb */ color: rgb(78, 33, 106);
/* oklch */ color: oklch(35.0% 0.125 309.8);
Tailwind
colors: {
  custom: {
    50: '#826095',
    500: '#4e216a',
    950: '#000000',
  },
}
SCSS
$custom: #4e216a;
$custom-light: #826095;
$custom-dark: #000000;
JSON
{
  "hex": "#4e216a",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 276.986,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34985,
    "c": 0.12519,
    "h": 309.8
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#4E216A
secondary
#6A9E49
accent
#DC4C83
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E216A

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

Preview Lab → · Contrast checker → · Palette generator →

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