#4E196F#4E196F

#4E196F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.142 H 308.8°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4E196F
RGBrgb(78, 25, 111)
HSLhsl(277, 63%, 27%)
HSVhsv(277, 77%, 44%)
CMYKcmyk(29.7%, 77.5%, 0%, 56.5%)
CIE-LABlab(21.81, 40.00, -38.95)
CIE-LCHlch(21.81, 55.83, 315.76°)
OKLaboklab(34.38% 0.0887 -0.1105)
OKLCHoklch(34.38% 0.142 308.8)
XYZxyz(6.3582, 3.4628, 15.3693)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E196F #3A6F19
analogous
#23196F #4E196F #6F1965
triadic
#4E196F #6F4E19 #196F4E
tetradic
#4E196F #6F2319 #3A6F19 #19656F
square
#4E196F #6F2319 #3A6F19 #19656F
split-complementary
#4E196F #656F19 #196F23
monochromatic
#120619 #2B0E3D #4E196F #7124A1 #9432D1

Accessibility & contrast

On white

12.41
#4E196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E196F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E196F#FFFFFF#000000##FFFFFF
##4E196F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00356D
Tritanopia (blue-blind)
#492D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e196f;
/* rgb */ color: rgb(78, 25, 111);
/* oklch */ color: oklch(34.4% 0.142 308.8);
Tailwind
colors: {
  custom: {
    50: '#835c99',
    500: '#4e196f',
    950: '#000000',
  },
}
SCSS
$custom: #4e196f;
$custom-light: #835c99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e196f",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 276.977,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34383,
    "c": 0.14169,
    "h": 308.8
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#4E196F
secondary
#66A43F
accent
#E64281
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E196F

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

Preview Lab → · Contrast checker → · Palette generator →

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