#4E196D#4E196D

#4E196D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.140 H 309.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#4E196D
RGBrgb(78, 25, 109)
HSLhsl(278, 63%, 26%)
HSVhsv(278, 77%, 43%)
CMYKcmyk(28.4%, 77.1%, 0%, 57.3%)
CIE-LABlab(21.65, 39.52, -37.91)
CIE-LCHlch(21.65, 54.76, 316.19°)
OKLaboklab(34.22% 0.0891 -0.1074)
OKLCHoklch(34.22% 0.14 309.7)
XYZxyz(6.2493, 3.4192, 14.7958)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E196D #386D19
analogous
#24196D #4E196D #6D1962
triadic
#4E196D #6D4E19 #196D4E
tetradic
#4E196D #6D2419 #386D19 #19626D
square
#4E196D #6D2419 #386D19 #19626D
split-complementary
#4E196D #626D19 #196D24
monochromatic
#120619 #2A0E3B #4E196D #72249F #9531D0

Accessibility & contrast

On white

12.47
#4E196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E196D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E196D#FFFFFF#000000##FFFFFF
##4E196D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#05356B
Tritanopia (blue-blind)
#4A2C41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e196d;
/* rgb */ color: rgb(78, 25, 109);
/* oklch */ color: oklch(34.2% 0.140 309.7);
Tailwind
colors: {
  custom: {
    50: '#835b97',
    500: '#4e196d',
    950: '#000000',
  },
}
SCSS
$custom: #4e196d;
$custom-light: #835b97;
$custom-dark: #000000;
JSON
{
  "hex": "#4e196d",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 277.857,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.13957,
    "h": 309.7
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#4E196D
secondary
#64A23F
accent
#E6427E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E196D

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

Preview Lab → · Contrast checker → · Palette generator →

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