#4E216B#4E216B

#4E216B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.126 H 309.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#4E216B
RGBrgb(78, 33, 107)
HSLhsl(276, 53%, 27%)
HSVhsv(276, 69%, 42%)
CMYKcmyk(27.1%, 69.2%, 0%, 58%)
CIE-LABlab(22.89, 35.13, -34.61)
CIE-LCHlch(22.89, 49.31, 315.43°)
OKLaboklab(35.06% 0.08 -0.0978)
OKLCHoklch(35.06% 0.126 309.3)
XYZxyz(6.3391, 3.7691, 14.3006)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E216B #3E6B21
analogous
#29216B #4E216B #6B2163
triadic
#4E216B #6B4E21 #216B4E
tetradic
#4E216B #6B2921 #3E6B21 #21636B
square
#4E216B #6B2921 #3E6B21 #21636B
split-complementary
#4E216B #636B21 #216B29
monochromatic
#110717 #2C133C #4E216B #702F9A #9142C5

Accessibility & contrast

On white

11.97
#4E216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E216B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E216B#FFFFFF#000000##FFFFFF
##4E216B1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#153769
Tritanopia (blue-blind)
#4A3043
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4e216b;
/* rgb */ color: rgb(78, 33, 107);
/* oklch */ color: oklch(35.1% 0.126 309.3);
Tailwind
colors: {
  custom: {
    50: '#826096',
    500: '#4e216b',
    950: '#000000',
  },
}
SCSS
$custom: #4e216b;
$custom-light: #826096;
$custom-dark: #000000;
JSON
{
  "hex": "#4e216b",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 276.486,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35059,
    "c": 0.12634,
    "h": 309.3
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#4E216B
secondary
#6B9F49
accent
#DC4C84
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4E216B

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

Preview Lab → · Contrast checker → · Palette generator →

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