#4E196E#4E196E

#4E196E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.141 H 309.2°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#4E196E
RGBrgb(78, 25, 110)
HSLhsl(277, 63%, 26%)
HSVhsv(277, 77%, 43%)
CMYKcmyk(29.1%, 77.3%, 0%, 56.9%)
CIE-LABlab(21.73, 39.76, -38.43)
CIE-LCHlch(21.73, 55.29, 315.98°)
OKLaboklab(34.3% 0.0889 -0.109)
OKLCHoklch(34.3% 0.141 309.2)
XYZxyz(6.3034, 3.4409, 15.0809)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E196E #396E19
analogous
#24196E #4E196E #6E1964
triadic
#4E196E #6E4E19 #196E4E
tetradic
#4E196E #6E2419 #396E19 #19646E
square
#4E196E #6E2419 #396E19 #19646E
split-complementary
#4E196E #646E19 #196E24
monochromatic
#120619 #2B0E3C #4E196E #7124A0 #9431D0

Accessibility & contrast

On white

12.44
#4E196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E196E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E196E#FFFFFF#000000##FFFFFF
##4E196E1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#03356C
Tritanopia (blue-blind)
#492D42
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e196e;
/* rgb */ color: rgb(78, 25, 110);
/* oklch */ color: oklch(34.3% 0.141 309.2);
Tailwind
colors: {
  custom: {
    50: '#835c98',
    500: '#4e196e',
    950: '#000000',
  },
}
SCSS
$custom: #4e196e;
$custom-light: #835c98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e196e",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 277.412,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34301,
    "c": 0.14063,
    "h": 309.2
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#4E196E
secondary
#65A33F
accent
#E64280
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E196E

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

Preview Lab → · Contrast checker → · Palette generator →

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